Skip to content

Commit 4f5ce67

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 ```
1 parent 693bfe8 commit 4f5ce67

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMake/CircleCI/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
script_dir="`cd $(dirname $0); pwd`"
44

55
# Run the images which contains the build of slicer (to link with the testing image with mounted volume)
6-
docker run -d --name slicer-build-with-test slicer/slicer-test bash
6+
docker run -d --rm=false --name slicer-build-with-test slicer/slicer-test bash
77

88
# Run the opengl docker image which will run the tests located on the volume shared by slicer/slicer-build
99
$script_dir/run_opengl.sh \

CMake/CircleCI/run_opengl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ fi
126126

127127
docker run \
128128
-d \
129+
--rm=false \
129130
--name $container \
130131
${mount_local} \
131132
$port_arg \

0 commit comments

Comments
 (0)