Intermediate Vocabulary #docker #containers #devops #dockerfile

Docker & Containerization Vocabulary

5 exercises — CMD vs ENTRYPOINT, multi-stage builds, layer caching, named volumes vs bind mounts, and image tags vs digests.

0 / 5 completed
1 / 5
A Dockerfile review comment says: "Replace CMD ["node", "server.js"] with ENTRYPOINT here — you want the container to always run as a Node server and allow arguments to be passed." What is the difference between CMD and ENTRYPOINT?