Biological neuronal network simulations with Python; GUI support.
1.3K
To enable ssh access you will need to obtain the private key for the image. First run the following command:
(host)$ docker run -i -t neuralensemble/simulationx /bin/cat /home/docker/.ssh/id_rsa > docker_key
Now set the access permissions on the key file so only you can read it, i.e. chmod go-r docker_key.
(Note: since anyone can obtain this key by downloading the image, it is not safe for running on the public web, and is intended only for running locally. If you wish to run this image in the cloud, you should create a new key pair).
The Dockerfiles in the master branch use Python 3.4 as the Python version; if you'd prefer Python 2.7 (Dockerfiles in python2 branch) replace neuralensemble/simulationx with neuralensemble/simulationx:py2, e.g.
docker run -i -t neuralensemble/simulationx:py2 /bin/bash
In normal use, you will run the container as an SSH server:
(host)$ docker run -d -p 22 neuralensemble/simulationx
Run docker ps to obtain the port number, and then use this to connect to the container:
(host)$ ssh -Y -i ./docker_key -p 32782 docker@localhost
On connection, you should already be in the "neurosci" virtual environment. If not, run
(docker)$ source ~/env/neurosci/bin/activate
after which you can run simulations with Python and MPI. To test that X11 forwarding is working, run xeyes.
On Mac OS X, you will need to launch XQuartz if you want to display X11 windows.
If using boot2docker or docker-machine, you will need to obtain the IP address of the VM, e.g.
(host)$ docker-machine ip default
192.168.99.100
(host)$ ssh -Y -i ./docker_key -p 32782 [email protected]
More information on the various images which have been released can be found at: https://hub.docker.com/r/neuralensemble/
For documentation of the simulation tools installed in the image, see http://neuralensemble.org/projects/
Content type
Image
Digest
sha256:a0fab0e82…
Size
443.9 MB
Last updated
over 6 years ago
docker pull neuralensemble/simulationx