以下docker镜像安装后必须要用https协议才能打开
1.谷歌浏览器(支持输入中文)
version: "3.7"
services:
chromium:
image: linuxserver/chromium:latest
container_name: docker-chromium
environment:
- PUID=1000 # 设置为你的用户ID
- PGID=1000 # 设置为你的组ID
- TZ=Asia/Shanghai # 设置你的时区
- CHROME_CLI=--app=https://www.google.com/ # 设置启动Chrome时打开百度搜索,可改
volumes:
- ./config:/config
ports:
- 3000:3000 # 冒号左侧端口可改
shm_size: "1gb" # 共享内存大小
restart: unless-stopped
privileged: true # 启用特权模式,不想要可删除
2.火狐浏览器
services:
firefox:
image: linuxserver/firefox:latest
container_name: firefox
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- LC_ALL=zh_CN.UTF-8
- FIREFOX_CLI=https://www.google.com/
volumes:
- ./config:/config
ports:
- 13001:3001
shm_size: "1gb"
restart: unless-stopped3.edge浏览器
services:
msedge:
image: lscr.io/linuxserver/msedge:latest
container_name: edge
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- LC_ALL=zh_CN.UTF-8
- EDGE_CLI=https://www.linuxserver.io/ #optional
volumes:
- /vol1/1000/docker/compose/edge/config:/config
ports:
- 3400:3000
- 3401:3001
shm_size: "1gb"
restart: unless-stopped
评论区