https://hub.docker.com/r/cannin/caiman
docker pull cannin/caiman:1.9.15-20230906
sudo docker rm -f cm; sudo docker run --name cm -d -p 4444:4444 -p 5900:5900 -8888:8888 -e SE_VNC_PASSWORD=password -v /home/ubuntu/tmp:/home/seluser/tmp --shm-size="4g" cannin/caiman:1.9.15-20230906
Change: /home/ubuntu/tmp:/home/seluser/tmp
- /home/ubuntu/tmp is local folder (host)
- /home/seluser/tmp is folder in container (guest)
- VNC: https://www.realvnc.com/en/connect/download/viewer/
- Jupyter URL: 127.0.0.1:8888
** NOTE: Must be inside container **
Start Conda environment:
mamba activate caiman
then either:
Commandline:
./home/seluser/caiman_data/test_demos.sh
Jupyter (Within Docker):
jupyter notebook
Jupyter (From Host Machine):
jupyter notebook --ip 0.0.0.0 --no-browser --NotebookApp.token='token'
https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
docker pull selenium/standalone-chrome:116.0-20230904
sudo docker rm -f cm; sudo docker run --name cm -d -p 4444:4444 -p 5900:5900 -e SE_VNC_PASSWORD=password --shm-size="4g" selenium/standalone-chrome:116.0-20230904
sudo docker exec -it cm bash # To get terminal
sudo docker exec -it cm /opt/bin/start-vnc.sh & # If VNC needs to restart
sudo apt-get update
sudo apt-get install -y nano git ncdu
sudo docker commit 493fe32c72ba cannin/caiman:1.9.15-20230906
sudo docker push cannin/caiman:1.9.15-20230906
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh
mamba create --name caiman python=3.9
mamba activate caiman
mamba install -c conda-forge caiman=1.9.15
caimanmanager.py install # File automatically in path after install; this will make a copy of: bin, demos, docs, example_movies, LICENSE.txt, model, README.md temp testdata test_demos.sh VERSION to ~/caiman_data
git clone https://github.com/flatironinstitute/CaImAn.git