Questions
- Which flag do you have to append to
docker container lsto view all the containers, both running and stopped? - True or false: the
-p 8080:80flag will map port80on the container to port8080on the host. - Explain the difference between what happens when you use Ctrl + C to exit a container you have attached, compared to using the
attachcommand with--sig-proxy=false. - True or false: The
execcommand attaches you to the running process. - Which flag would you use to add an alias to a container so that it responds to DNS requests, when you already have a container running with the same DNS name in another network?
- Which command would you use to find out details on a Docker volume?