mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 04:30:12 -08:00
29 lines
481 B
Markdown
29 lines
481 B
Markdown
|
|
# Docker things
|
|
|
|
## Useful aliases
|
|
|
|
These are defined in <https://github.com/acedanger/shell>
|
|
|
|
`dcdn`=`docker compose down`
|
|
|
|
`dcupd`=`docker compose up -d`
|
|
|
|
`dcpull`=`docker compose pull`
|
|
|
|
`dsta`=`docker stop $(docker ps -q)`
|
|
|
|
`dclf`=`docker compose logs -f`
|
|
|
|
`dxcit`=`docker container exec -it`
|
|
|
|
`lzd`=`lazydocker`
|
|
|
|
## Putting it all together
|
|
|
|
Shut it down, pull the latest images, start it up in the background, and follow the logs:
|
|
|
|
```bash
|
|
dcdn && dcpull && dcupd && dclf
|
|
```
|