...
Build and run single node SDN-R
Login to nexus repository (for first time) .. see here: Docker DevOps
- Build
Code Block |
---|
cd $HOME/ccsdk/distribution/odlwt-alpine-standalone-0.4.2-SNAPSHOT mvn clean install -P docker |
- Run container with name "sdnr"
Code Block |
---|
docker run --detach --env SDNRWT="true" oof-pci/ccsdk-odlwt-alpine-image:latest sdnr |
- Login by using browser http://172.17.0.2:8181/index2.html with admin/admin
- docker ps should show a single running container and shows its CONTAINERID
- docker inspect CONTAINERID gives IP adress to be used. In the example 172.17.0.2
Login to docker container with name "sdnr"
Code Block |
---|
docker exec -t -i "sdnr" /bin/bash -c 'TERM=xterm exec /bin/bash' |
- Opendaylight home is under "/opt/opendaylight"
- Leave CLI with exit.