Skip to content

Commit 6dd8e62

Browse files
committed
Update README.md to include docs on running the socket on non systemd distros
1 parent e18bfda commit 6dd8e62

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ Building from source (Linux, Windows and MacOS) or installing packaged versions
4545

4646
See [start podman system service](https://podman.io/blogs/2020/08/10/podman-go-bindings.html) for more details.
4747

48+
* `podman.socket` for non systemd and rootless mode.
49+
For non-systemd distributions, the socket can be created using the below command.
50+
Add this command to your distro or window manager’s autostart to start the service automatically.
51+
52+
```shell
53+
$ podman system service
54+
```
55+
56+
Note: This command creates the socket only for the user who runs it. To create the socket for the root user, run the command with `sudo`.
57+
4858
* If the SSH key has a passphrase, then you need to set and export `CONTAINER_PASSPHRASE=<password>` variable.
4959
```shell
5060
$ export CONTAINER_PASSPHRASE=keypass

0 commit comments

Comments
 (0)