construction de docker
docker build -t [tag] .
commande d'exécution docker sur le conteneur
sudo docker exec -it <container name> <command>
construction de docker-t
--tag , -t ----> Name and optionally a tag in the ‘name:tag’ format
exemple de fichier dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker ARG
$ docker build --build-arg some_variable_name=a_value
comment créer une image docker à partir d'un nom de fichier personnalisé
cat DockerFile.debian.foo | docker build -t debian.foo -