Skip to content

Instantly share code, notes, and snippets.

View jarryDk's full-sized avatar

Michael Bornholdt Nielsen jarryDk

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jarrydk on github.
  • I am jarry_dk (https://keybase.io/jarry_dk) on keybase.
  • I have a public key ASCJLrQWFNgf9lvq5k6wUTmWhtcQpf9KjqxqZwiJh2vXogo

To claim this, I am signing this object:

#!/bin/bash
#
# Get and array of containers and the network name of the container
#
dnf list jq -y
podman ps --format json | jq '[ .[] | { name: .Names[0], network: .Networks[0] } ]'
#!/bin/bash
mkdir -p /run/user/$(id -u)/podman
export DOCKER_HOST="unix:/run/user/$(id -u)/podman/podman.sock"
podman system service --time=0 unix:/run/user/$(id -u)/podman/podman.sock &