Quiz on Dockerfile Automation
Automation using Dockerfile
Automation using Dockerfile
1
How do you map a host port to the container port?
A)
docker run -i
B)
docker run -p 5000:5000 flask_app:1.0
C)
docker run --expose 5000:5000 flask_app:1.0
D)
docker log <container_name>
Question 1 of 50 attempted
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy