mirror of
https://github.com/dockersrc/ubuntu
synced 2026-07-23 04:59:09 -04:00
📝 Migrate /var/lib/srv docker paths to /srv in docs 📝
Build and Push 18.04 / build (push) Has been cancelled
Build and Push 20.04 / build (push) Has been cancelled
Build and Push 22.04 / build (push) Has been cancelled
Build and Push 24.04 / build (push) Has been cancelled
Build and Push 24.10 / build (push) Has been cancelled
Build and Push 26.04 / build (push) Has been cancelled
Build and Push / build (push) Has been cancelled
Build and Push 18.04 / build (push) Has been cancelled
Build and Push 20.04 / build (push) Has been cancelled
Build and Push 22.04 / build (push) Has been cancelled
Build and Push 24.04 / build (push) Has been cancelled
Build and Push 24.10 / build (push) Has been cancelled
Build and Push 26.04 / build (push) Has been cancelled
Build and Push / build (push) Has been cancelled
Update volume mount examples from /var/lib/srv/$USER/docker to /srv/$USER/docker. - README.md ubuntu/.dockerignore ubuntu/.gitattributes ubuntu/.gitea/workflows/build.yml ubuntu/.gitignore ubuntu/LICENSE.md ubuntu/rootfs/root/docker/setup/00-init.sh ubuntu/rootfs/root/docker/setup/01-system.sh ubuntu/rootfs/root/docker/setup/02-packages.sh ubuntu/rootfs/root/docker/setup/03-files.sh ubuntu/rootfs/root/docker/setup/04-users.sh ubuntu/rootfs/root/docker/setup/05-custom.sh ubuntu/rootfs/root/docker/setup/06-post.sh ubuntu/rootfs/root/docker/setup/07-cleanup.sh ubuntu/rootfs/usr/local/bin/copy ubuntu/rootfs/usr/local/bin/entrypoint.sh ubuntu/rootfs/usr/local/bin/healthcheck ubuntu/rootfs/usr/local/bin/pkmgr ubuntu/rootfs/usr/local/bin/symlink ubuntu/rootfs/usr/local/etc/docker/functions/entrypoint.sh : update path references to /srv/$USER/docker README.md ubuntu/.dockerignore ubuntu/.gitattributes ubuntu/.gitea/workflows/build.yml ubuntu/.gitignore ubuntu/LICENSE.md ubuntu/rootfs/root/docker/setup/00-init.sh ubuntu/rootfs/root/docker/setup/01-system.sh ubuntu/rootfs/root/docker/setup/02-packages.sh ubuntu/rootfs/root/docker/setup/03-files.sh ubuntu/rootfs/root/docker/setup/04-users.sh ubuntu/rootfs/root/docker/setup/05-custom.sh ubuntu/rootfs/root/docker/setup/06-post.sh ubuntu/rootfs/root/docker/setup/07-cleanup.sh ubuntu/rootfs/usr/local/bin/copy ubuntu/rootfs/usr/local/bin/entrypoint.sh ubuntu/rootfs/usr/local/bin/healthcheck ubuntu/rootfs/usr/local/bin/pkmgr ubuntu/rootfs/usr/local/bin/symlink ubuntu/rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
@@ -19,17 +19,17 @@ dockermgr update os ubuntu
|
||||
## Install and run container
|
||||
|
||||
```shell
|
||||
mkdir -p "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest"
|
||||
mkdir -p "/srv/root/docker/casjaysdev/ubuntu/latest"
|
||||
git clone "https://github.com/dockermgr/ubuntu" "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu"
|
||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/rootfs/." "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/"
|
||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/rootfs/." "/srv/root/docker/casjaysdev/ubuntu/latest/"
|
||||
docker run -d \
|
||||
--restart always \
|
||||
--privileged \
|
||||
--name casjaysdev-ubuntu-latest \
|
||||
--hostname ubuntu \
|
||||
-e TZ=${TIMEZONE:-America/New_York} \
|
||||
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z" \
|
||||
-v "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z" \
|
||||
-v "/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z" \
|
||||
-v "/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z" \
|
||||
casjaysdev/ubuntu:latest
|
||||
```
|
||||
|
||||
@@ -45,8 +45,8 @@ services:
|
||||
- TZ=America/New_York
|
||||
- HOSTNAME=ubuntu
|
||||
volumes:
|
||||
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z"
|
||||
- "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z"
|
||||
- "/srv/root/docker/casjaysdev/ubuntu/latest/data:/data:z"
|
||||
- "/srv/root/docker/casjaysdev/ubuntu/latest/config:/config:z"
|
||||
restart: always
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user