कस्टम फ़ाइल नाम से डॉकर छवि कैसे बनाएं
cat DockerFile.debian.foo | docker build -t debian.foo -
डॉकर बिल्ड कैश का उपयोग न करें
docker build --no-cache
डॉकर स्पष्ट कैश
# Rebuild the image
docker build --no-cache
# Pull the base images again and rebuild
docker build --no-cache --pull
# Also works with docker-compose
docker-compose build --no-cache
# If nothing from the above works for you, you could also prune everything
docker system to prune
बनाने dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
डॉकर स्पष्ट कैश
docker volume prune