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 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
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
PODMAN: Command To Tail Podman Container Instance Logs
PODMAN: How To Forcibly Remove/Delete Podman Image?
Following Command can be used to Forcibly Remove/Delete Podman Image.
podman rmi <image> --force
Keywords:
delete deleting remove removing image images clean cleaning cleanup
OCNE: Podman/Crictl Pull Commands To Pull OCK Image
Below are crictl and podman pull commands to pull OCK image of OCNE 2.x version. Change the OCK image version in below command as needed.
crictl pull container-registry.oracle.com/olcne/ock:1.32
podman pull container-registry.oracle.com/olcne/ock:1.32
Keywords:
OCNE Oracle Cloud Native Environment olcne CNE OCK Container Engine Kubernetes command commands ocne pulling
PODMAN: How to Specify Registry Credentials (Login Username and Password) With Podman Command?
Following command can be used to Specify Registry Credentials (Login Username and Password) With Podman Command.
Replace private registry hostname and port number in below command.
podman pull --creds "username:password" private-registry:5000/nginx:latest
Keywords:
pulling pushing push pull credentials username password user authenticate logging authenticating
PODMAN: How to Enable Log Debug For Podman Commands (--log-level=debug)
PODMAN: How To Tag Container Images On Podman?
PODMAN / CRIO: How To Manually Test Pulling Container Images From Oracle Container Registry (OCR) Using Podman & CRIO?
We can manually pull nginx container image from Oracle container registry (OCR) from podman or CRIO to test if they are installed correctly and if the images are getting pulled without issues.
Following commands can be used.
Podman
podman pull container-registry.oracle.com/olcne/nginx:1.17.7CRIO
crictl pull container-registry.oracle.com/olcne/nginx:1.17.7Keywords:
pulling pull container containers image images container-registry.oracle.com ocr registries issues problems test check testing checking
PODMAN: How to Delete / Remove All Container Images Downloaded Into Podman?
podman system prune --all --force && podman rmi --all
Keywords:
podman image images delete deleting remove removing erase erasing container containers download downloaded mirror registry registries repository repositories
PODMAN: How To Search and List Available Versions of Container Image Using Podman?
Below command can be used to Search and List Available Versions of Container Image Using Podman.
podman search --list-tags <registry>/<container_image> --limit <n>
In above command replace registry with registry you are sing, container_image with name of the container image you would like to search. n is the number of search results you want to see. Default search results for podman is 25.
Below is example command and output to search and list etcd container images from Oracle container registry with search results limit set to 100.
# podman search --list-tags container-registry.oracle.com/olcne/etcd --limit 100
NAME TAG
container-registry.oracle.com/olcne/etcd 3.3.10-1
container-registry.oracle.com/olcne/etcd 3.3.10-2
container-registry.oracle.com/olcne/etcd 3.3.15
container-registry.oracle.com/olcne/etcd 3.4.13
container-registry.oracle.com/olcne/etcd 3.4.3-1
container-registry.oracle.com/olcne/etcd 3.4.3-2
Keywords:
containers, container, searching, listing, image, images, version, versions, pull, pulling, registries, registry