mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: disable restart in dev docker compose
This commit is contained in:
1 parent
3f50b99d1a
commit
4e03be9408
2 files changed
+5
-3
No files matched your search
+5
-1
@@ -7,8 +7,12 @@ inspect() {
|
||||
docker compose logs $SERVICE -f --no-log-prefix
|
||||
}
|
||||
|
||||
list() {
|
||||
docker ps -a | grep 'quest-' | awk '{print $1}'
|
||||
}
|
||||
|
||||
clean() {
|
||||
containers=$(docker ps -a | grep 'quest-' | awk '{print $1}')
|
||||
containers=$(list)
|
||||
echo $containers
|
||||
|
||||
docker rm -f $containers
|
||||
|
||||
Reference in new issue
Block a user