"Salta": Docker container won't start.

Scenario: "Salta": Docker container won't start.

Level: Medium

Type: Fix

Tags: docker   realistic-interviews  

Description: There's a "dockerized" Node.js web application in the /home/admin/app directory. Create a Docker container so you get a web app on port :8888 and can curl to it. For the solution to be valid, there should be only one running Docker container.

Test: curl localhost:8888 returns Hello World! from a running container.

Time to Solve: 15 minutes.


Static Badge      X (formerly Twitter) Follow      GitHub Repo stars      Mastodon Follow      Uptime Robot ratio (30 days)
Updated: 2024-04-20 23:41 UTC – 9d41e63