Showing posts with label ForMe. Show all posts
Showing posts with label ForMe. 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


Friday, June 2, 2023

[DevOps] Remove all docker logs

Sometimes are needs to remove logs for all containers, for example, when you not have enough disk space

sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"

Sunday, May 8, 2022

[Notes] How check warranty of Huawei and Apple products

Hello, it's the short post with links where you can check warranty of Huawei and Apple products and accessories in Russian segment of internet

Huawei

Where to find S/N for check on Huawei devices