# 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
docker cp foo.txt container_id:/foo.txtdocker cp container_id:/foot.txt foo.txtsudo docker system prune -a -f