...
Code Block | ||
---|---|---|
| ||
ssh onaplab@10.121.7.146
# Clone the PCEI repo
git clone "https://gerrit.akraino.org/r/pcei"
cd pcei/locationAPI/nodejs
# Build the Docker image
sudo docker build -f Dockerfile . -t pceilocapi:latest
#Run local Docker repository
sudo docker run -d -p 5000:5000 --restart=always --name registry registry:2
# Push the PCEI Location API image to local Docker repository:
sudo docker tag pceilocapi localhost:5000/pceilocapi
sudo docker push localhost:5000/pceilocapi |
...