Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description


Centos 6.4 with CellProfiler from the official repository. See

# 0. Install Docker. See

# 1. Download and build docker-cellprofiler
git clone
cd docker-cellprofiler
sudo docker build -t "cellprofiler" .

# 2. Test
# Start a container from image "cellprofiler" and run command "cellprofiler -help" inside the container.
sudo docker run cellprofiler cellprofiler -help

# 3. Test
# Start a container so that it sees local directories, run "cellprofiler" with option "--help"
sudo ./ /tmp /tmp /tmp --help

# 4. Allow to be run with sudo without password
# - running docker requires sudo permissions
# - add a file to /etc/sudoers.d/ to make exception
# - note that the file should be edited with 'visudo', otherwise if you make a syntax error you can block sudo.  
visudo -f /etc/sudoers.d/allow-cp-docker-wrap
# - this is the line to put in the file:
your_account_here ALL = (root) NOPASSWD: /usr/local/bin/
# - now you should be able to run  /tmp /tmp /tmp --help 

# 5. Run a CellProfiler pipeline with CreateBatchFiles
# - map input directory to /input
# - map output directory to /output
# - this produces a .h5 file (eg. mybatch.h5)

# 6. Convert CellProfiler batch file for Condor 
# - this produces sub.txt mybatch.h5 /work/test/output

# 7. Submit jobs to Condor
# - each Condor job will start a container with CellProfiler
condor_submit sub.txt
Docker Pull Command
Source Repository

Comments (1)
3 years ago

You don't need sudo, just add the users to the group "docker"