abaiao-r / ft_transcendence

Website with a real-time multiplayer Pong contest with Python (Django) backend, JavaScript (Bootstrap Toolkit) frontend, and various modules for enhanced features like tournaments, blockchain integration, AI opponents, and more.
7 stars 2 forks source link

Set up docker. #20

Closed abaiao-r closed 8 months ago

abaiao-r commented 9 months ago

Everything must be launched with a single command line to run an autonomous container provided by Docker.

Example : docker-compose up --build

If your container solution is Docker:

When your computers in clusters run under Linux, you will use Docker in rootless mode for security reasons. This comes with 2 sideways:

• Your Docker runtime files must be located in /goinfre or /sgoinfre. • You can’t use so called “bind-mount volumes” between the host and the container if non-root UIDs are used in the container.

Depending on the project, your situation and the context, several fallbacks exist: Docker in a VM, rebuild you container after your changes, craft your own docker image with root as unique UID.

IcQuackson commented 8 months ago

This was done right in the beginning. Now we just keep maintaining the docker files and docker-compose