Skip to content

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

Open
@dlevy-msft

Description

@dlevy-msft

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.

Activity

added
bugSomething isn't working
documentationImprovements or additions to documentation
on Dec 7, 2023
changed the title [-]Add troubleshooting text for Docker daemon not started[/-] [+]Podman - Add troubleshooting text for Docker daemon not started[/+] on Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @stuartpa@dlevy-msft

      Issue actions

        Podman - Add troubleshooting text for Docker daemon not started · Issue #488 · microsoft/go-sqlcmd