mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Docker run command
The docker run command was missing of the correct container label.
This commit is contained in:
parent
9dc90d6cc8
commit
7e5f1b345a
@ -93,7 +93,7 @@ The container can also be built directly from source:
|
|||||||
|
|
||||||
$ cd vyos-build
|
$ cd vyos-build
|
||||||
$ docker build -t vyos/vyos-build:crux docker # For VyOS 1.2
|
$ docker build -t vyos/vyos-build:crux docker # For VyOS 1.2
|
||||||
$ docker build -t vyos/vyos-build docker # For rolling release
|
$ docker build -t vyos/vyos-build:current docker # For rolling release
|
||||||
|
|
||||||
.. note:: Since VyOS has switched to Debian (10) Buster in its ``current`` branch,
|
.. note:: Since VyOS has switched to Debian (10) Buster in its ``current`` branch,
|
||||||
you will require individual container for `current` and `crux` builds.
|
you will require individual container for `current` and `crux` builds.
|
||||||
@ -184,7 +184,7 @@ Now a fresh build of the VyOS ISO can begin. Change directory to the ``vyos-buil
|
|||||||
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash
|
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash
|
||||||
|
|
||||||
# For VyOS 1.3 (equuleus, current)
|
# For VyOS 1.3 (equuleus, current)
|
||||||
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build bash
|
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current bash
|
||||||
|
|
||||||
Start the build:
|
Start the build:
|
||||||
|
|
||||||
@ -348,7 +348,7 @@ Launch Docker container and build package
|
|||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
# For VyOS 1.3 (equuleus, current)
|
# For VyOS 1.3 (equuleus, current)
|
||||||
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build bash
|
$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current bash
|
||||||
|
|
||||||
# Change to source directory
|
# Change to source directory
|
||||||
$ cd vyos-1x
|
$ cd vyos-1x
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user