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