Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 535 Bytes

docker.md

File metadata and controls

32 lines (21 loc) · 535 Bytes

Dependency

  • nvidia-docker: >20.x

Build

  1. Build docker image from Dockerfile
docker build -t defmap .
  1. Run a container in interactive mode
docker run -it --gpus 0 defmap bash

How to switch EMAN2 and DEFMap environments

If you want to use EMAN2 command, run the following command:

eval "$(/root/eman2-sphire-sparx/bin/conda shell.bash hook)"

If you want to use DEFMap, run the follwoing command:

eval "$(/opt/conda/bin/conda shell.bash hook)"
conda actiavte defmap