Skip to content

Using podman instead

Steve Brasier edited this page May 18, 2022 · 8 revisions

On Rocky Linux 8.5, equivalent of quickstart is:

# yum install -y podman
# mkdir -p /srv/docker/squid/{log,cache}
# chcon -Rt svirt_sandbox_file_t !$
# podman run --name squid -d --restart=always   --publish 3128:3128   --volume /srv/docker/squid/log:/var/log/squid   --volume /srv/docker/squid/cache:/var/spool/squid   stackhpc/squid:4.4-8

NB: If the host's network MTU is smaller than podman's default of 1500 (e.g. some smslabs at 1442) then you can either insert:

  • --network host - use host networking
  • --network slirp4netns:mtu=MTU to set MTU for default rootless user network stack.

If you already have networking up you will need to stop all containers using it and then run podman network prune.

Clone this wiki locally