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
HTML - Home - ABOUT TARBOTS
Welcome to tarbots.com ... AI Search Assistant
This site has articles which provides information on everyday commands, procedures & scripts for DevOps & Infrastructure technologies which will be very useful for System Admin, DevOps, CloudOps, Network Admins and any teams or individuals working on Infrastructure technologies.
CLICK HERE to learn more about tarbots.com
Technologies Covered In This Site
HTML - HOME - RECENT ARTICLES TITLE
Recent Articles
LINUX: How To Backup and Restore The Data Inside XFS Filesystem on the Linux Hosts?
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
PODMAN: Command To Check The TEMP Image Copy Directory (tmp) Used By Podman
podman info | grep -i tmp
temporary temp tmp location file files cache checking validate validating how to check