Accrual to Clinical Trials
Space shortcuts
Space Tools
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

« Previous Version 28 Next »

 

Running this image will require a recent supported installation of the Docker Engine

You will also need root or superuser access to run this install. 

If you are not familiar with Docker

Operating systems checked

 

Our testing has shown that this ACT Docker container will run on: CentOS 7, Windows 10 Professional, and Mac OS. Also, this container will run on Windows 7 with the Docker Toolbox for Windows installed.

Dockerhub

 

Our public Dockerhub repository page is here: ACT On this page you will find abridged instructions on how to run this image into a container on your local host.

Step 1. Download the launcher.sh script from here: launcher.sh  This script is a helper that will prompt your for parameters that are unique to your site. With these parameters the script will execute the Docker run command, feeding it the parameters that were prompted for. 

 

Step 1. Fetch the ACT Docker archive from here: Download

Step 2. Change directory into the root of the extracted archive.  If you do a directory listing you will see this:

change directory into the root of the extracted project

 

Step 3. Run the Build/Run script by typing in: ./startACT.sh  This is the script that will build and run the docker ACT container.

 

Step 4. The script will prompt your for your SHRINE URL. Enter in your SHRINE URL.

 

Step 5. The script will now prompt you for your i2b2 domain. Enter it here.

 

Step 6. The script will now prompt you for your PM cell URL. Enter it here.

 

Step 7. The script will now build the ACT image, and run the ACT container.  All outputs of these commands can be found in ACTStart.log

Note

This building of the ACT image can take up to several minutes to complete.

 

Step 8. Verify the ACT Web Client is running by going to http://your_hostname:5001 in a browser. 

If there are any issues you can go to http://your_hostname:5001/ACT_requirements.php  

You have completed all the steps! Here are some helpful Docker commands:

To delete the running act_container, enter in: docker container rm -f act_container

 

To run a container based on the act_image, type in docker run --name [anyname] -d -p [hostPort:80] act_image
In the exmaple beow we have started two ACT containers running at the same time 

Here are the two contianers URL running at the same time! Note the port numbers.

To get a list of running containers type in: docker container ls

 

To get to the act_container's shell type in: docker exec -it act_container sh.  Below you can see this in the example, here I did a ls, once inside the 
contianers shell. to leave the shell, type in exit. This will bring you back to the host OS.

  • No labels