how to use the docker of the epitech moulinette
this guide will show you how to install docker, download the epitech moulinette container and learn how to use it for your projects.
sudo apt install docker.io
sudo pacman -S docker
setup docker before first use
use docker without root privileges with
sudo usermod -aG docker $USER and REBOOT your computer afterwards for changes to take effect.
sudo systemctl start dockerand
sudo systemctl stop dockerwill start and stop docker when you need it
sudo systemctl enable dockerto start docker on every boot
make sure docker runs correctly
docker run hello-world to make sure that docker pulls the
hello-world container to run on your computer.
if you get a message like “Hello from Docker!”, that means it works. time to get the epitech container.
get the epitech container
docker pull epitechcontent/epitest-docker to download the epitech moulinette environement. make sure to have fast internet, because the container is about 5 gigabytes.
start the container and get a shell
go into the directory you want to get a shell in the epitech container.
docker run -it --rm -v $(pwd):/home/project -w /home/project epitechcontent/epitest-docker /bin/bash and you will get a bash prompt: you are now in the container. run the commands you want, and exit the shell when you are done (either with
exit or by entering
ctrl + d).