Tweak 03
[?]
Mar 21, 2023, 5:18 PM
QSIJOFRUNUTEQWUBOBODCI2OYG2OMU4RXHZFHEZCDG5NVHBNZVVQCDependencies
Change contents
- edit in 03-nix-container/podman-setup-script.nix at line 27
fiif ! grep -q "^''${USER}:" /etc/subuid; thenecho "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ''${USER}' to allow rootless podman to work" - edit in 03-nix-container/flake.nix at line 62
if ! grep -q "^''${USER}:" /etc/subuid; thenecho "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ''${USER}' to allow rootless podman to work"fi - replacement in 03-nix-container/demo-inside-nix-develop.sh at line 18
x docker image ls | grep "wttr-delft\|^REPOSITORY"x "docker image ls | grep 'wttr-delft\|^REPOSITORY'" - replacement in 03-nix-container/demo-inside-nix-develop.sh at line 27
x podman ps --all --storage | grep "wttr-delft\|^CONTAINER ID"x "podman ps --all --storage | grep 'wttr-delft\|^CONTAINER ID'" - replacement in 03-nix-container/demo-inside-nix-develop.sh at line 30
x podman ps --all --storage | tail -n +2 | grep wttr-delft | awk "{print \$1}" | xargs podman rmx podman image ls | tail -n +2 | grep wttr-delft | awk "{print \$3}" | xargs podman image rm -f[3.6592]x "podman ps --all --storage | tail -n +2 | grep wttr-delft | awk '{print \$1}' | xargs podman rm"x "podman image ls | tail -n +2 | grep wttr-delft | awk '{print \$3}' | xargs podman image rm -f"