|
2 | 2 | title: devspace up |
3 | 3 | --- |
4 | 4 |
|
5 | | -With `devspace up`, you build your image, start your DevSpace and connect to it. |
| 5 | +With `devspace up`, you build your image, start your DevSpace and connect to it. |
6 | 6 |
|
7 | 7 | ```bash |
8 | 8 | Usage: |
9 | 9 | devspace up [flags] |
10 | 10 |
|
11 | 11 | Flags: |
12 | | - -b, --build Build image if Dockerfile has been modified (default true) |
13 | | - -d, --deploy Deploy chart |
14 | | - -h, --help help for up |
15 | | - --init-registries Initialize registries (and install internal one) (default true) |
16 | | - --no-sleep Enable no-sleep |
17 | | - --portforwarding Enable port forwarding (default true) |
18 | | - -s, --shell string Shell command (default: bash, fallback: sh) |
19 | | - --sync Enable code synchronization (default true) |
20 | | - --tiller Install/upgrade tiller (default true) |
| 12 | + -b, --build Build image if Dockerfile has been modified (default true) |
| 13 | + -c, --container string Container name where to open the shell |
| 14 | + -d, --deploy Deploy chart |
| 15 | + -h, --help help for up |
| 16 | + --init-registries Initialize registries (and install internal one) (default true) |
| 17 | + --no-sleep Enable no-sleep |
| 18 | + --portforwarding Enable port forwarding (default true) |
| 19 | + --sync Enable code synchronization (default true) |
| 20 | + --tiller Install/upgrade tiller (default true) |
| 21 | + --verbose-sync When enabled the sync will log every file change |
| 22 | + |
| 23 | +Examples: |
| 24 | +devspace up # Start the devspace |
| 25 | +devspace up bash # Execute bash command |
21 | 26 | ``` |
22 | 27 |
|
23 | 28 | **Note**: Every time you run `devspace up`, your containers will be re-deployed. This way, you will always start with a clean state. |
0 commit comments