Main Menu
- Home
- Kubernetes
- Containerization Stack (DevOps)
- Oracle Cloud Native Environment (OCNE)
- Linux
- Linux "FIND" Command related Articles
- Linux "YUM" Command related Articles
- Linux "PS" Command related Articles
- "AWK" Command related Articles
- Linux "RPM" Command related Articles
- "PING" Command related Articles
- "NTP" related Articles
- Linux Network related Articles and Commands
- Linux Security related Articles
- Linux Troubleshooting Articles
- Linux FILESYSTEM related Articles
- Linux INFINIBAND Network related Articles
- Linux "MOUNT" Command related Articles
- Linux Shell Script Articles
- "BIOS" related Linux Articles
- "NFS" related Articles
- "GREP" Commands related Articles
- Linux "CPU" & "Memory" related Articles
- "SED" Command related Articles
- "SYSTEMCTL" Commands related Articles
- Logical Volumes related Articles
- "TCPDUMPS" related Articles
- GitHub Repositories (tarbots)
- About tarbots
Search
PODMAN: How To Configure Podman Container Instance As System Unit Service To Autorestart When the Host OS Reboots
PODMAN: How to Setup Podman Registry Instance Running On Non SSL HTTP protocol?
PODMAN: How To Change /var/tmp (imageCopyTmpDir ) Of Podman To Different Directory?
Below are steps to change the podman tmp directory from default /var/tmp location.
1. Set the podman tmp directory to desired directory. In below command example it is /var/tmp/testdir. Change the /var/tmp/testdir directory to directory of your choice.
$ export TMPDIR=/var/tmp/testdir
2. Restart podman and reload daemon.
Below are commands.
$ sudo systemctl daemon-reload
$ sudo systemctl restart podman
3. Validate podman tmp directory is changed to the new directory set.
Use below command.
$ podman info | grep -i tmp
Below is the output you should see which should change the tmp directory location for imageCopyTmpDir parameter
$ podman info | grep -i tmp
imageCopyTmpDir: /var/tmp/testdir
Keywords:
Change Changing Update Updating default custom tmp temp temporary directories directories files file modify modifying cache caching