mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
11 lines
332 B
Bash
Executable file
11 lines
332 B
Bash
Executable file
REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
|
|
|
# Export desktop environment shell configuration
|
|
eval "$($REPO_ROOT/docker/scripts/environment.sh)"
|
|
|
|
# Remove all non desktop environment containers
|
|
docker ps -a | \
|
|
grep -v " $DESKTOP_ENVIRONMENT_CONTAINER_IMAGE" | \
|
|
grep -v "CONTAINER " | \
|
|
cut -b 1-20 | \
|
|
xargs docker rm -f
|