The most interesting folders:
- ./images The folder with custom Docker Images.
- ./local Folder for local changes. It can be convenient to use it together with the docker-compose.local.yml file.
- ./mounted A folder for exchanging files between the PC and the Docker container.
- ./volumes The folder with Docker Volumes in Linux structure.
- ./volumes/home/projects Different code for AWS stuff.
- Copy the ./.env.sample file to the ./.env. Check it and edit some parameters if needed.
- Copy the ./volumes/root/bash_history/linux.sample file to the ./volumes/root/bash_history/linux for saving command history in the Linux container.
- Optional. Copy the ./docker-compose.local.yml.sample file to the ./docker-compose.local.yml and edit it, if you need some changes in the Docker configurations locally.
Docker Build
docker-compose build
Docker Up
docker-compose up -d
Docker Up, if you use some changes for the local environment:
docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d
Docker Stop
docker-compose stop
- Host: linux
docker-compose exec linux /bin/bash