2024-11-23
This commit is contained in:
28
home/podman/.config/containers/systemd/firefox.container
Normal file
28
home/podman/.config/containers/systemd/firefox.container
Normal file
@ -0,0 +1,28 @@
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=firefox
|
||||
Environment="FF_OPEN_URL=https://192.168.11.1"
|
||||
Image=docker.io/jlesage/firefox:v24.11.1
|
||||
# Network=firefox.network
|
||||
# Pod=firefox.pod
|
||||
PublishPort=5800:5800
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
Volume=/etc/timezone:/etc/timezone:ro
|
||||
Volume=firefox-data.volume:/config:rw
|
||||
|
||||
[Service]
|
||||
Restart=no
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
|
||||
# podman pull docker.io/jlesage/firefox:v24.11.1
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user start firefox
|
||||
# systemctl --user status firefox
|
||||
# journalctl -fu firefox.service
|
||||
# podman logs firefox
|
||||
# systemctl --user stop firefox
|
||||
# systemctl --user disable firefox
|
||||
# podman exec -ti firefox /bin/sh
|
||||
# podman exec -ti firefox /bin/bash
|
Reference in New Issue
Block a user