Categories
Uncategorised

Docker Cheat sheet

Quick commands :

— to rebuild after changes to the Dockerfile.
docker-compose build

— √©quivalent de vagrant up
docker-compose up -d

— acc√©der au container. container_php is the container name.
docker exec -it container_php bash

To install : https://docs.docker.com/install/linux/docker-ce/ubuntu/