mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-06-07 23:40:24 +08:00
update
This commit is contained in:
@@ -167,24 +167,50 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/docker/main/scripts/onefire
|
||||
|
||||
**Deletion**
|
||||
|
||||
Command:
|
||||
|
||||
```shell
|
||||
docker ps -a
|
||||
```
|
||||
|
||||
Query for containers with a prefix of 'firefox' in their names, and record the IDs of these containers.
|
||||
|
||||
```shell
|
||||
docker rm -f container_ID
|
||||
```
|
||||
|
||||
To remove the corresponding image, you can use the following command after deleting all associated containers:
|
||||
Modify the following port number ``3003`` to your actual port number, and then execute the command to delete the container, configuration file, and corresponding image
|
||||
|
||||
```shell
|
||||
PORT="3003"
|
||||
docker stop firefox_${PORT}
|
||||
docker rm -f firefox_${PORT}
|
||||
rm -f /usr/local/bin/firefox_${PORT}
|
||||
docker rmi jlesage/firefox
|
||||
```
|
||||
|
||||
## One-Click Setup of Chrome Browser Container
|
||||
|
||||
- Crashing self-start has been set
|
||||
- Web checksums and passwords can be set.
|
||||
- Customizable maximum container memory footprint
|
||||
- No need to consider whether to support nested virtualization and server architecture.
|
||||
- Supports sound mapping
|
||||
|
||||
Sound mapping is supported **Host requires at least 1 core, 2G RAM, and 5G hard disk, and the size of the container to be opened will take up a minimum of 1G hard disk**.
|
||||
|
||||
**Opening**
|
||||
|
||||
The default password after opening is ```oneclick```.
|
||||
|
||||
The default http port is ```3004```, open ```http://IPV4:3004``` after opening.
|
||||
|
||||
The default https port is ```3005```, open ```https://IPV4:3005``` after opening.
|
||||
|
||||
```shell
|
||||
curl -L https://raw.githubusercontent.com/spiritLHLS/docker/main/scripts/onechromium.sh -o onechromium.sh && chmod +x onechromium.sh && bash onechromium.sh
|
||||
```
|
||||
|
||||
**Delete**
|
||||
|
||||
Change the following port number ```3004``` to your actual http port number, then execute the command enter twice to delete the container, configuration file, and corresponding image
|
||||
|
||||
```shell
|
||||
PORT="3004"
|
||||
docker stop chromium_${PORT}
|
||||
docker rm -f chromium_${PORT}
|
||||
rm -f /usr/local/bin/config_${PORT}
|
||||
docker rmi lscr.io/linuxserver/chromium
|
||||
```
|
||||
|
||||
## One-Click Setup of Desktop Container
|
||||
|
||||
- Crashes automatically restart have been configured.
|
||||
|
||||
@@ -171,25 +171,49 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/docker/main/scripts/onefire
|
||||
|
||||
**删除**
|
||||
|
||||
执行
|
||||
|
||||
```shell
|
||||
docker ps -a
|
||||
```
|
||||
|
||||
查询name的前缀是firefox的容器,记录容器的ID用
|
||||
|
||||
```shell
|
||||
docker rm -f 容器的ID
|
||||
```
|
||||
|
||||
删除所有关联的容器后可用
|
||||
修改以下端口号```3003```为你实际的端口号,然后执行命令回车两次即可删除容器、配置文件、对应镜像
|
||||
|
||||
```shell
|
||||
PORT="3003"
|
||||
docker stop firefox_${PORT}
|
||||
docker rm -f firefox_${PORT}
|
||||
rm -f /usr/local/bin/firefox_${PORT}
|
||||
docker rmi jlesage/firefox
|
||||
```
|
||||
|
||||
删除对应镜像
|
||||
## 一键开设Chrome浏览器的容器
|
||||
|
||||
- 已设置崩溃自启
|
||||
- 自带web的校验,可自设置密码
|
||||
- 可自定义容器最大的内存占用
|
||||
- 无需考虑是否支持嵌套虚拟化和服务器的架构
|
||||
- 支持声音映射
|
||||
|
||||
**宿主机需要至少1核2G内存5G硬盘,开设的容器大小将占用起码1G硬盘**
|
||||
|
||||
**开设**
|
||||
|
||||
开设后默认的密码是```oneclick```
|
||||
|
||||
默认的http端口是```3004```,开设后打开```http://本机IPV4:端口```即可
|
||||
|
||||
默认的https端口是```3005```,开设后打开```https://本机IPV4:端口```即可
|
||||
|
||||
```shell
|
||||
curl -L https://raw.githubusercontent.com/spiritLHLS/docker/main/scripts/onechromium.sh -o onechromium.sh && chmod +x onechromium.sh && bash onechromium.sh
|
||||
```
|
||||
|
||||
**删除**
|
||||
|
||||
修改以下端口号```3004```为你实际的http端口号,然后执行命令回车两次即可删除容器、配置文件、对应镜像
|
||||
|
||||
```shell
|
||||
PORT="3004"
|
||||
docker stop chromium_${PORT}
|
||||
docker rm -f chromium_${PORT}
|
||||
rm -f /usr/local/bin/config_${PORT}
|
||||
docker rmi lscr.io/linuxserver/chromium
|
||||
```
|
||||
|
||||
## 一键开设Desktop的容器
|
||||
|
||||
|
||||
Reference in New Issue
Block a user