1.5 KiB
Create/Modify a docker compose file, at systems/docker-dev.yaml
Skip all checked tasks
-
expose via ssh, user root:password
-
install mc, build-essentials
-
use minimal ubuntu
-
add bash scripts to build and run the container (name=pcat)
-
add batch scripts to build and run the container (name=pcat)
-
launch the container using the terminal tool
-
the host is using windows
-
remove webmin
-
remove apache2
-
create a user polymech, in /home/polymech, add to sudoers
-
add stop scripts
-
ask the user he likes cats, if so, rename the container to whatever
-
mount the host's home directory to /home/polymech
-
Dockerfile : install nodejs latest
-
add another script to login into the Docker container, with the terminal tool
-
Run
sh build.shwith terminal tool (window, detached), in ./systems -
Run
docker compose -f docker-dev.yaml up -dwith terminal tool (cmd.exe) -
Run
docker exec -it pcat /bin/bashwith terminal tool (detached, window) -
in systems/Dockerfile, instruct to create a file at /root/.config/code-server/config.yaml with the follwing content
bind-addr: 0.0.0.0:8080
auth: password
password: f0ec467fdc9c95c114aa409f
cert: false
-
export variable OSR_CONFIG with "/home/polymech/.osr/config.json"
-
in systems/Dockerfile, make 'code-server' as service, running with user polymech
-
Commit all files in systems, using git tool
-
Mark completed tasks designated by tickboxes in systems/query-docker.md