Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »



The infrastucture provides an APT and DOCKER proxy to reduce bandwidth utilization for installs in the Intel/Windriver Lab.


APT proxy is on port 8000 through a squid proxy

DOCKER proxy is on port 5000 using a docker registry.

The DOCKER proxy uses a 54 TB volume mount for the docker images.


Below are the instructions for setting it up.


  1. apt-get update

  2. apt-get -y install squid-deb-proxy

    1. this will install and start the apt proxy on port 8000
  3. If you need to re-create the Volume mount for the docker registry
    • Create your instance (Openstack UI)
    • Create your volume (Openstack UI)
    • Attach volume to instance (Openstack UI)

  4. After creating the volume or to re-use the existing volume, go into the nexus-proxy instance:
    1. lsblk -f # identify the new volume device, probably /dev/vdb
    2. cgdisk /dev/vdb # create your partition as /dev/vdb1
    3. mkfs.xfs -f -L docker-proxy /dev/vdb1 # create xfs FS on /dev/vdb1; you can use ext4 if you like
    4. mkdir -p /mnt/registry # create mount for FS
    5. add something like the following to your /etc/fstab, with your own FS UUID of course
    6. UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /mnt/registry ext4 noatime 0 0
    7. mount /mnt/registry/
    8. Reboot to be sure that the FS can be mounted correctly
  5. apt-get install docker.io

  6. docker run -d -p 5000:5000 --restart=unless-stopped --name registry -v /mnt/registry:/var/lib/registry -e REGISTRY_PROXY_REMOTEURL=https://nexus3.onap.org:10001 registry:2


If you need to do mainteance on the docker registry to clean up the cache:

inside registry:

               bin/registry garbage-collect /etc/docker/registry/config.yml


  • No labels