- Open the existing
Dockerfile - Build and run it as-is, to see what it prints while building AND what it prints when you run it.
- Does that reveal something about how containers work for you?
- Now fill in the TODO, so that our built container image has
curlandnslookuputils available when we start it.
Command to build the container from this folder:
docker build . --progress=plain --no-cache --tag ubuntu-debuggerWhat do the flags mean?
--progress=plain | No fancy colored tty output, just print line-by-line. Helps us not miss anything being printed while we build.
--no-cache | Do not cache any previously completed build steps, always start from the top.
Command to run the built container image:
docker run --rm -it ubuntu-debuggerThe flag --rm means, remove the container when I'm done with it (detach from its shell).