From 251c664ed2ef301586c2b67eb5b41e66b92edc7a Mon Sep 17 00:00:00 2001 From: Javier Romero Date: Mon, 3 Jan 2022 13:08:52 +0000 Subject: [PATCH] Add missing podman connection settings and info Signed-off-by: Javier Romero --- data/podman/setup.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/data/podman/setup.yml b/data/podman/setup.yml index 3874a6288..f48605332 100644 --- a/data/podman/setup.yml +++ b/data/podman/setup.yml @@ -77,8 +77,14 @@ ```shell=zsh ssh-add -k "$HOME/.ssh/podman-machine-default" ``` - 2. Configure `DOCKER_HOST` with the connection information: + 2. Change default connection to use `root`: + ```shell=zsh + podman system connection default podman-machine-default-root + ``` + > **Note**: `root` connection prevents needing to pass `--docker-host=inherit` on every `pack build`. \ + > For more information, see issue [buildpacks/pack#1338](https://github.com/buildpacks/pack/issues/1338). + 3. Configure `DOCKER_HOST` with the connection information: ```shell=zsh export DOCKER_HOST="$(podman system connection ls --format="{{.URI}}" | grep root)" ``` - **Tip**: put the commands into your shell init file (e.g `~/.zshrc`). \ No newline at end of file + > **Tip**: put the commands into your shell init file (e.g `~/.zshrc`). \ No newline at end of file