Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts

Monday, November 27, 2023

[DevOps] Hint for running portainer under podman

Hello, 

Officially the Portainer is supports only docker, but on some systems we can use only Podman (RHEL systems), with this is hint you can run portainer under podman:

systemctl enable podman
systemctl start podman

#You will need to enable linger for this user in order for the socket to work when the user is not logged in.
loginctl enable-linger $USER

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest


Sunday, May 15, 2022

[DevOps][Note] How enable ssh authentication without password on Fedora

Hello,  

cd ~/.ssh
ls

 Should be <fileName>.pub and <fileName> (private key) 

ssh-copy-id -f -i <filename>.pub <username>@<host>

Based on:

  1. link 1
  2. link 2