仓库地址:https://hub.docker.com/r/linuxserver/firefox

1、安装docker
apt install docker.io
systemctl start docker
systemctl enable docker

2、拉取镜像部署
docker run -d \
–name=firefox \
–security-opt seccomp=unconfined `#optional` \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 3000:3000 \
-v /path/to/config:/config \
–shm-size=”1gb” \
–restart unless-stopped \
lscr.io/linuxserver/firefox:latest

3、打开浏览器,输入IP:3000,即可访问安装在vps上内置的一个firefox浏览器了

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注