Comment on Where can I learn Docker fundamentals?
dartanjinn@lemm.ee 1 year agoThanks I’ll look into that. It doesn’t help that my introduction to Docker was using portainer so I haven’t really had much experience in the terminal outside of docker ps. I really put the cart before the horse there and am regretting it.
housepanther@lemmy.goblackcat.com 1 year ago
Hey, it’s okay. I’ve been there and done that myself. You’ll find it useful to look at both Dockerfile and docker-compose.yml files. A mistake I made early on was thinking I could replace a Dockerfile with a docker-compose.yml one. The Dockerfile itself describes how an image should be built. The docker-compose.yml file describes the environment and fetches images. It also may pass variables to the Dockerfile.