mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Add more examples of podman usage
This commit is contained in:
parent
fe2fd776ef
commit
3312eaa51d
10
CONTAINER.md
10
CONTAINER.md
@ -281,7 +281,15 @@ It's also possible to use podman instead of docker, just notice:
|
|||||||
- If you want to start with command `live`, add environment variable `EJABBERD_BYPASS_WARNINGS=true`
|
- If you want to start with command `live`, add environment variable `EJABBERD_BYPASS_WARNINGS=true`
|
||||||
```bash
|
```bash
|
||||||
podman build \
|
podman build \
|
||||||
-t ja \
|
-t ejabberd \
|
||||||
-f .github/container/Dockerfile \
|
-f .github/container/Dockerfile \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
podman run --name eja1 -d -p 5222:5222 localhost/ejabberd
|
||||||
|
|
||||||
|
podman exec eja1 ejabberdctl status
|
||||||
|
|
||||||
|
podman exec -it eja1 sh
|
||||||
|
|
||||||
|
podman stop eja1
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user