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

Podman - Add troubleshooting text for Docker daemon not started #488

Open
dlevy-msft opened this issue Dec 7, 2023 · 0 comments
Open

Podman - Add troubleshooting text for Docker daemon not started #488

dlevy-msft opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@dlevy-msft
Copy link

dlevy-msft commented Dec 7, 2023

When running with Podman in a rootless environment, the daemon configuration can get tricky. If we have a daemon failure and are able to somehow detect they are running podman (or not) we should show the following info steps to configure.

As a non-root user run:

systemctl --user enable podman.socket
systemctl --user start podman.socket
systemctl --user status podman.socket

export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock

sudo -s
export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
exit

The other problem with rootless configurations is that the home drive is typically too small to unpack a container so you have to add a disk then mount to /home, grant permissions and then run restorecon -R -v $HOME/.local/share/containers.

@dlevy-msft dlevy-msft added bug Something isn't working documentation Improvements or additions to documentation labels Dec 7, 2023
@dlevy-msft dlevy-msft added this to the January 2024 Release milestone Dec 7, 2023
@dlevy-msft dlevy-msft changed the title Add troubleshooting text for Docker daemon not started Podman - Add troubleshooting text for Docker daemon not started Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants