Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

Start the Docker Quickstart Terminal from the applications folder:

Code Block
languagebash
titleMac Start Docker Quickstart Terminal
Applications/Docker/Docker Quickstart Terminal.app

...

  1. Determine <parent directory> where you want to have the <hspc-docker local directory> installed. 
  2. Change to the <parent directory>. 
  3. Copy the archive file furnished by Salvador to the <parent directory>, and expand it. 
  4. Change to the <hspc-docker localpath> directory:
  5. Build the hspc image:
Code Block
languagebash
titleMac Start Docker Quickstart Terminal
cd <hspc-docker path>localpath>
docker build -t="opencds/hspc" .

 

Create volume for hspc webapps:

Code Block
languagebash
titleMac Start Docker Quickstart Terminal
docker create -v /usr/local/tomcat/webapps --name hspc-webapps opencds/hspc /bin/true

Create hspc container:
sudo docker run --volumes-from hspc-webapps --volumes-from hspc-mysql-data -d -p 8080:8080 --name hspc opencds/hspc

Code Block
languagebash
titleMac Start Docker Quickstart Terminal
docker run --volumes-from hspc-webapps --volumes-from hspc-mysql-data -d -p 8080:8080 --name hspc opencds/hspc

...