Adjusted docker commands (docker compose, without '-').
This commit is contained in:
parent
57f6b18abe
commit
9aa78caeee
@ -149,14 +149,13 @@ topby() {
|
||||
}
|
||||
|
||||
# Docker helpers
|
||||
# Update docker-compose containers
|
||||
# Update docker compose containers
|
||||
# https://stackoverflow.com/questions/49316462/how-to-update-existing-images-with-docker-compose
|
||||
dcupdate() {
|
||||
# TODO: check when sudo is needed
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
# TODO: will fail, if user is not allowed to use docker
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
docker image prune
|
||||
# TODO: logfile
|
||||
}
|
||||
|
||||
# Python virtualenv helper
|
||||
|
||||
Loading…
Reference in New Issue
Block a user