Skip to content

Instantly share code, notes, and snippets.

@narslan
Last active June 23, 2023 21:06
Show Gist options
  • Save narslan/4c435c7cd4dfae4a2954367ba7e99db1 to your computer and use it in GitHub Desktop.
Save narslan/4c435c7cd4dfae4a2954367ba7e99db1 to your computer and use it in GitHub Desktop.

Revisions

  1. narslan revised this gist Jun 23, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions podman.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    ```sh
    #https://devpress.csdn.net/linux/62ea013920df032da732abb7.html
    $ mount -t cgroup2 none /sys/fs/cgroup
    $ xbps-install podman podman-compose cni cni-plugin-dnsname cni-plugins
    $ sudo vim /etc/containers/registries.conf
  2. narslan created this gist Jun 23, 2023.
    7 changes: 7 additions & 0 deletions podman.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ```sh
    $ mount -t cgroup2 none /sys/fs/cgroup
    $ xbps-install podman podman-compose cni cni-plugin-dnsname cni-plugins
    $ sudo vim /etc/containers/registries.conf
    [registries.search]
    registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com', 'registry.centos.org']
    ```