- Directory structure to build and run the container:
- parent_directory:
- containerization
- TapeWorm
- parent_directory:
- Use "docker compose build" inside containerization to build the container.
- Use "docker compose up" inside containerization to run the container.
If a user is falling out of a docker permission group on computer restart check the output of echo $DOCKER_HOST. If the output is empty add the following line to .bashrc export DOCKER_HOST=unix:///var/run/docker.sock
Linux and macOS need the following line to enable x11 forwarding xhost +localhost
If the container was built previously use docker compose up --build to rebuild only necessary components.
MacOS will need to install XQuartz to forward the container window. You must restart your computer and open a new terminal to enable.
Not much modification is required but adding the line ForwardX11 yes