mirror of
https://github.com/dockur/proxmox.git
synced 2026-07-27 16:54:51 +07:00
docs: Update storage path (#42)
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8006:8006
|
- 8006:8006
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/lib/vz
|
- ./data:/var/lib/vz
|
||||||
- ./config:/var/lib/pve-cluster
|
- ./config:/var/lib/pve-cluster
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8006:8006
|
- 8006:8006
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/lib/vz
|
- ./data:/var/lib/vz
|
||||||
- ./config:/var/lib/pve-cluster
|
- ./config:/var/lib/pve-cluster
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8006:8006
|
- 8006:8006
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/lib/vz
|
- ./data:/var/lib/vz
|
||||||
- ./config:/var/lib/pve-cluster
|
- ./config:/var/lib/pve-cluster
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
##### Via Docker CLI:
|
##### Via Docker CLI:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm --name proxmox --hostname pve --privileged -e "PASSWORD=root" -p 8006:8006 -v "${PWD:-.}/storage:/var/lib/vz" -v "${PWD:-.}/config:/var/lib/pve-cluster" --stop-timeout 120 docker.io/dockurr/proxmox
|
docker run -it --rm --name proxmox --hostname pve --privileged -e "PASSWORD=root" -p 8006:8006 -v "${PWD:-.}/data:/var/lib/vz" -v "${PWD:-.}/config:/var/lib/pve-cluster" --stop-timeout 120 docker.io/dockurr/proxmox
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Via Github Codespaces:
|
##### Via Github Codespaces:
|
||||||
@@ -87,10 +87,10 @@ docker run -it --rm --name proxmox --hostname pve --privileged -e "PASSWORD=root
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/lib/vz
|
- ./data:/var/lib/vz
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace the example path `./storage` with the desired storage folder or named volume.
|
Replace the example path `./data` with the desired storage folder or named volume.
|
||||||
|
|
||||||
### How do I change the location of the configuration data?
|
### How do I change the location of the configuration data?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user