How to Docker setup on Single VM
Prerequisites
Linux distribution Ubuntu is assumed (version 16.04 preferred)
Make sure that git, docker and docker-compose are installed
Step-by-step guide
You would need to have a root access to the vm
sudo su - root
Navigate to /opt directory
cd /opt
Clone the test-config git project
git clone http://gerrit.onap.org/r/aai/test-config
Navigate to /opt/test-config directory
cd test-config
Create a directory called /opt/config
mkdir /opt/config/
Create a file called /opt/config/nexus_username.txt containing the text: docker
echo "docker" > /opt/config/nexus_username.txt
Create a file called /opt/config/nexus_password.txt containing the text: docker
echo "docker" > /opt/config/nexus_password.txt
Create a file called /opt/config/dmaap_topic.txt containing the text: AAI-EVENT
echo "AAI-EVENT" > /opt/config/dmaap_topic.txt
Create a file called /opt/config/nexus_docker_repo.txt containing text: nexus3.onap.org:10001
echo "nexus3.onap.org:10001" > /opt/config/nexus_docker_repo.txt
Create a file called /opt/config/docker_version.txt containing text: 1.1-STAGING-latest
echo "1.1-STAGING-latest" > /opt/config/docker_version.txt
Please note that in the previous step, docker version is currently 1.1-STAGING-latest and this will be changed later. Finally, run the installation scripts
./deploy_vm2.sh && ./deploy_vm1.sh