Skip to content

Commit

Permalink
set mount propagation = shared as default
Browse files Browse the repository at this point in the history
  • Loading branch information
ningfdx committed Jan 9, 2024
1 parent 747244b commit 98f498d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ default: binary
all: build ## validate all checks, build linux binaries, run all tests,\ncross build non-linux binaries, and generate archives
$(DOCKER_RUN_DOCKER) bash -c 'hack/validate/default && hack/make.sh'


# set version number: make VERSION=20.10.17-umd18
binary: buildx ## build statically linked linux binaries
echo $(VERSION_AUTOGEN_ARGS)
echo "last version: dockerd-20.10.17-umd17"
Expand Down
2 changes: 1 addition & 1 deletion container/container_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func (container *Container) UpdateContainer(hostConfig *containertypes.HostConfi
RW: strings.ToLower(v.CgroupPermissions) == "rw",
Type: mounttypes.TypeBind,
Mode: "",
Propagation: mounttypes.PropagationRPrivate,
Propagation: mounttypes.PropagationShared,
}
}

Expand Down

0 comments on commit 98f498d

Please sign in to comment.