===== Workflow ===== # First time setup: docker-compose build # Builds your custom image from Dockerfile docker-compose up -d # Starts containers using your custom image # If you change the Dockerfile later: docker-compose build # Rebuild the image docker-compose up -d # Recreate containers with new image # Or do both at once: docker-compose up -d --build ===== File Operations ===== * copy files to docker container: ''docker cp foo.txt container_id:/foo.txt'' * copy files from docker container: ''docker cp container_id:/foot.txt foo.txt'' * prune unneeded files (save disk space): ''sudo docker system prune -a -f''