moby/container
Paweł Gronowski 7532420f3b
container/SetupWorkingDirectory: Don't mutate config
Don't mutate the container's `Config.WorkingDir` permanently with a
cleaned path when creating a working directory.

Move the `filepath.Clean` to the `translateWorkingDir` instead.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-04-19 12:42:20 +02:00
..
stream migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
archive_windows.go pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive 2022-11-29 17:07:48 +01:00
attach_context.go fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
container.go container/SetupWorkingDirectory: Don't mutate config 2024-04-19 12:42:20 +02:00
container_unit_test.go container: StopSignal(): return syscall.Signal 2022-05-05 00:53:53 +02:00
container_unix.go volumes/subpath: Plumb context 2024-01-19 17:32:21 +01:00
container_windows.go volumes/subpath: Plumb context 2024-01-19 17:32:21 +01:00
env.go Use strings.Index instead of strings.Split 2020-04-24 11:10:13 -07:00
env_test.go Use strings.Index instead of strings.Split 2020-04-24 11:10:13 -07:00
exec.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
health.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
history.go Add canonical import comment 2018-02-05 16:51:57 -05:00
memory_store.go Add canonical import comment 2018-02-05 16:51:57 -05:00
memory_store_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
monitor.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
mounts_unix.go Support recursively read-only (RRO) mounts 2023-05-26 01:58:24 +09:00
mounts_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
state.go Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
state_test.go Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
store.go Add canonical import comment 2018-02-05 16:51:57 -05:00
view.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
view_test.go container: format code with gofumpt 2023-08-24 17:57:34 +02:00