Skip to content

Commit 845cedb

Browse files
BUG: Error removing container by circleCI
FROM https://circleci.com/docs/docker-btrfs-error/ ``` When Docker creates a container, the container is created on Btrfs, the filesystem that we use to store all build containers, and removing a container is equivalent to removing a Btrfs subvolume. However, the Docker process doesn’t have permission to remove btrfs subvolumes, resulting in the error ``` BUG: --rm=false replaced by commenting docker rm cmd
1 parent 80629ba commit 845cedb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMake/CircleCI/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ $script_dir/run_opengl.sh \
1313
-r --volumes-from -r slicer-build-with-test
1414

1515
# Remove the container used to mount volumes from slicer-build
16-
docker rm slicer-build-with-test
16+
#docker rm slicer-build-with-test

CMake/CircleCI/run_opengl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ url="http://${ip}:$port"
9292

9393
cleanup() {
9494
docker stop $container >/dev/null
95-
docker rm $container >/dev/null
95+
#docker rm $container >/dev/null
9696
}
9797

9898
running=$(docker ps -a -q --filter "name=${container}")

0 commit comments

Comments
 (0)