Cleanup. Ensure the docker build is un-cached
This commit is contained in:
18
README.md
18
README.md
@ -16,12 +16,12 @@ execute /etc/vpp/bootstrap.vpp within the dataplane. There are three relevant fi
|
||||
## Building
|
||||
|
||||
```bash
|
||||
docker build -f Dockerfile.bookworm . -t pimvanpelt/vpp-containerlab
|
||||
docker build --no-cache -f Dockerfile.bookworm . -t pimvanpelt/vpp-containerlab
|
||||
```
|
||||
|
||||
## Starting the container
|
||||
|
||||
```
|
||||
```bash
|
||||
docker network create --driver=bridge network2 --subnet=172.19.1.0/24
|
||||
docker rm clab-pim
|
||||
docker run --cap-add=NET_ADMIN --cap-add=SYS_NICE --cap-add=SYS_PTRACE \
|
||||
@ -55,7 +55,7 @@ my-node:
|
||||
If using DPDK in a container, one of the userspace IO kernel drivers must be loaded in the host
|
||||
kernel. Options are `igb_uio`, `vfio_pci`, or `uio_pci_generic`:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ sudo modprobe igb_uio
|
||||
$ sudo modprobe vfio_pci
|
||||
$ sudo modprobe uio_pci_generic
|
||||
@ -78,12 +78,12 @@ docker exec -it clab-pim vppctl
|
||||
and then within the VPP control shell:
|
||||
|
||||
```
|
||||
vpp-clab# create host-interface v2 name eth1
|
||||
vpp-clab# set interface name host-eth1 eth1
|
||||
vpp-clab# set interface mtu 1500 eth1
|
||||
vpp-clab# set interface ip address eth1 172.19.1.2/24
|
||||
vpp-clab# set interface ip address eth1 fec0::2/64
|
||||
vpp-clab# set interface state eth1 up
|
||||
create host-interface v2 name eth1
|
||||
set interface name host-eth1 eth1
|
||||
set interface mtu 1500 eth1
|
||||
set interface ip address eth1 172.19.1.2/24
|
||||
set interface ip address eth1 fec0::2/64
|
||||
set interface state eth1 up
|
||||
```
|
||||
|
||||
Containerlab will generate a config file called `/etc/vpp/clab.vpp` which contains all of these
|
||||
|
Reference in New Issue
Block a user