Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuneg11/docker-envs

Personal docker images
https://github.com/yuneg11/docker-envs

docker

Last synced: 9 days ago
JSON representation

Personal docker images

Awesome Lists containing this project

README

        

# Docker-Envs

## `vessl-env`

### Build

- Development build:
```bash
cd vessl-env
./build.sh # TAG will be automatically set as `dev-yymmddHHMM`
```

- Release build:
```bash
cd vessl-env
./build.sh
```

- Tag existing image:
```bash
docker tag ghcr.io//:
```

### Test

- Run container
```bash
docker run -t -d /bin/sh
```

- Open shell in container
```bash
docker exec -it /bin/bash
# or
docker exec -it /bin/zsh
```

- Stop container
```bash
docker stop
```

- Delete container
```bash
docker rm
# or
docker container rm
# or
docker container prune # remove all stopped containers
```

- Delete image
```bash
docker rmi
# or
docker image rm
```

### Push image

- Register
```bash
docker push ghcr.io//:
```

- Delete
```bash
curl -X DELETE https://ghcr.io/v2/ubuntu/manifests/sha256:
```