Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing podman connection settings and info #456

Merged
merged 1 commit into from
Jan 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions data/podman/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
> **Tip**: put the commands into your shell init file (e.g `~/.zshrc`).