diff options
author | Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> | 2020-01-09 14:06:33 +0900 |
---|---|---|
committer | Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> | 2020-01-09 14:06:33 +0900 |
commit | 556cc1fadf9a65da20dcc1e4ef0fa2523850cf7e (patch) | |
tree | 6209f8e6358720e8cdd411cbcd5beb409c1e0e81 /libpod | |
parent | 5990f0f142b8771865293f06309ea48a8c167695 (diff) | |
download | podman-556cc1fadf9a65da20dcc1e4ef0fa2523850cf7e.tar.gz podman-556cc1fadf9a65da20dcc1e4ef0fa2523850cf7e.tar.bz2 podman-556cc1fadf9a65da20dcc1e4ef0fa2523850cf7e.zip |
rootlessport: honor ctr.runtime.config.TmpDir
Previously, rootlessport was using /var/tmp as the tmp dir.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/networking_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go index 06b3fe957..89dac2b5d 100644 --- a/libpod/networking_linux.go +++ b/libpod/networking_linux.go @@ -344,6 +344,7 @@ func (r *Runtime) setupRootlessPortMapping(ctr *Container, netnsPath string) (er NetNSPath: netnsPath, ExitFD: 3, ReadyFD: 4, + TmpDir: ctr.runtime.config.TmpDir, } cfgJSON, err := json.Marshal(cfg) if err != nil { |