-
Development build:
cd vessl-env ./build.sh <PASSWD> # TAG will be automatically set as `dev-yymmddHHMM`
-
Release build:
cd vessl-env ./build.sh <PASSWD> <TAG>
-
Tag existing image:
docker tag <IMAGE_ID> ghcr.io/<USER>/<REPO>:<TAG>
-
Run container
docker run -t -d <IMAGE_ID> /bin/sh
-
Open shell in container
docker exec -it <CONTAINER_ID> /bin/bash # or docker exec -it <CONTAINER_ID> /bin/zsh
-
Stop container
docker stop <CONTAINER_ID>
-
Delete container
docker rm <CONTAINER_ID> # or docker container rm <CONTAINER_ID> # or docker container prune # remove all stopped containers
-
Delete image
docker rmi <IMAGE_ID> # or docker image rm <IMAGE_ID>
-
Register
docker push ghcr.io/<USER>/<REPO>:<TAG>
-
Delete
curl -X DELETE https://ghcr.io/v2/ubuntu/manifests/sha256:<SHA256>