Main Menu

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


PODMAN: How to Tail Podman Container Logs?

Below steps can be used to tail podman container logs.

1. Check the running podman instance container ID

podman ps -a

Below is sample output

CONTAINER ID  IMAGE                                               COMMAND               CREATED      STATUS            PORTS                   NAMES
044ff210d1e3  container-registry.oracle.com/os/registry:v2.7.1.1  serve /etc/docker...  2 hours ago  Up 3 minutes ago  0.0.0.0:5000->5000/tcp  registry

2. Run podman logs on the podman container ID

podman logs -f <container id>

In this example.

podman logs -f 044ff210d1e3


Keywords:

tail tailing command commands containerization logging log 

LINUX: Chpasswd One Line Command To Update Password Without Prompt To Enter Password (Passwd)

Below chpasswd command can be used. Change username with the username to which you want to change password and password with the desired password you want to test.

echo "username:password" | chpasswd

For e.g. to change admin user password to testpwd, your command will look as follows

echo "admin:testpwd" | chpasswd


Keywords:

passwords changing modify modifying update updating oneline single



LINUX: How To Check All The Supported Filesystem On the Operating System / Kernel?

Following is the command to check all the supported filesystems on the Linux operating system / kernel

ls -a /lib/modules/$(uname -r)/kernel/fs | cat

Below is sample output of above command.

btrfs
cachefiles
ceph
cifs
cramfs
dlm
ecryptfs
ext2
ext4
fat
fscache
fuse
gfs2
isofs
jbd2
jffs2
lockd
mbcache.ko.xz
nfs
nfs_common
nfsd
nls
ocfs2
overlayfs
pstore
squashfs
ubifs
udf
xfs


Keywords:

filesystem filesystems file files system systems how to validate validating checking command commands verify verifying kernel kernels OS operating

PODMAN: How To Tag Container Images On Podman?

Following podman tag command can be used to tag the images on podman container registry.

podman tag image-id localhost:7000/app/nginx:1.17.7

In above command image-id is the podman image id seen in "podman images" command. "localhost:7000/app/nginx:1.17.7" is the tag name being assigned. "localhost:7000/app/nginx:1.17.7" tag name can be changed to the desired tag name.

Keywords:

tagging image images container containers rename change changing registries