Explorar el Código

:bug: fix docker settings

Jeremy Zheng hace 2 años
padre
commit
4ecabacc18
Se han modificado 3 ficheros con 9 adiciones y 10 borrados
  1. 2 10
      docker/README.md
  2. 1 0
      docker/registries.conf
  3. 6 0
      docker/storage.conf

+ 2 - 10
docker/README.md

@@ -1,20 +1,12 @@
-# Usage for Ubuntu 20.10 and newer
+# Usage for Ubuntu 22.04(jammy) and newer
 
-- Install podman: `sudo apt -y install podman runc buildah skopeo`.
-- Setup `/etc/containers/registries.conf`.
-
-  ```text
-  [registries.search]
-  registries = ['quay.io', 'docker.io']
-  ```
+- Install podman: `sudo apt install crun podman buildah fuse-overlayfs`.
 
 - Work with podman image
 
   ```bash
   # clear outdated images
   podman rmi -a -f
-  # uncompress image files
-  cat palm-spring.tar.xz.a* | tar xj
   # import new podman image
   podman load -q -i palm-spring-TIMESTAMP.tar  
   ```

+ 1 - 0
docker/registries.conf

@@ -0,0 +1 @@
+unqualified-search-registries = ["docker.io"]

+ 6 - 0
docker/storage.conf

@@ -0,0 +1,6 @@
+[storage]
+driver = "overlay"
+rootless_storage_path = "$HOME/.c"
+
+[storage.options.overlay]
+mount_program = "/usr/bin/fuse-overlayfs"