transition to container_ over podman_
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
```bash
|
||||
# Generate the network
|
||||
podman run ghcr.io/containers/podlet --description Graphite \
|
||||
podman network create --ipv6 graphite > active/podman_graphite/graphite.network
|
||||
podman network create --ipv6 graphite > active/container_graphite/graphite.network
|
||||
|
||||
# Generate the systemd container service
|
||||
podman run ghcr.io/containers/podlet --description Graphite \
|
||||
@@ -23,15 +23,15 @@ podman run \
|
||||
-v graphite_configs:/opt/graphite/conf \
|
||||
-v graphite_data:/opt/graphite/storage \
|
||||
-v graphite_statsd_config:/opt/statsd/config \
|
||||
ghcr.io/deniszh/graphite-statsd > active/podman_graphite/graphite.container
|
||||
ghcr.io/deniszh/graphite-statsd > active/container_graphite/graphite.container
|
||||
```
|
||||
|
||||
Copy the graphite.container and graphite.network file to the server you want to run it on
|
||||
|
||||
```bash
|
||||
export PODMAN_SERVER=
|
||||
scp active/podman_graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/
|
||||
scp active/podman_graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/
|
||||
scp active/container_graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/
|
||||
scp active/container_graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/
|
||||
|
||||
ssh $PODMAN_SERVER systemctl daemon-reload
|
||||
ssh $PODMAN_SERVER systemctl start graphite.network
|
||||
|
||||
Reference in New Issue
Block a user