Skip to content

0x1fff/docker-vmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-vmd

Visual Molecular Dynamics in Docker Container

VMD is designed for the visualization and analysis of biological systems such as proteins, nucleic acids, lipid bilayer assemblies, etc. It may be used to view more general molecules, as VMD can read standard Protein Data Bank (PDB) files and display the contained structure. VMD provides a wide variety of methods for rendering and coloring molecule. VMD can be used to animate and analyze the trajectory of molecular dynamics (MD) simulations, and can interactively manipulate molecules being simulated on remote computers (Interactive MD).

Why it was created?

This project is another quick and dirty solution to create VMD container almost from scratch. It compiles provided VMD sources and creates Debian package (*.deb) which is later installed in container. If you are planing to build VMD Debian package for distribution you should rather use vmd-debian project - it is better suited for deb package distribution.

Building VMD container image (Ubuntu host)

## Remove standard Ubuntu Docker installation and install most recent Docker
sudo apt-get purge docker.io
curl -s https://get.docker.io/ubuntu/ | sudo sh

## Create enviroment for docker-vmd container build
mkdir vmd_build
cd vmd_build
git clone https://github.com/0x1fff/docker-vmd.git

## Download vmd source from proper place
cp vmd-*src.tar.gz .

## Start HTTP server with vmd sources
python -m SimpleHTTPServer 9090 &
PY_HTTP=$!

## Build docker image (Dockerfile may require minor changes - UID / GID / HTTP PROXY)
sudo docker build -t docker-vmd docker-vmd

## Shutdown HTTP server
kill $PY_HTTP

Starting VMD container (Ubuntu host)

Creating VMD container with home volume and X forwarding

docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/:/home/vmd docker-vmd

Is it working?

Yes!

VMD screenshot

Tested VMD versions

  • vmd-1.8.7.src.tar.gz - (md5sum: e8da2f2a5ffd5b4b2562eec77bbea8a3) ✅
  • vmd-1.9.1.src.tar.gz - (md5sum: 661a3836df6598bad0bf15eca4d2f890) ✅
  • vmd-1.9.src.tar.gz - (md5sum: ad52f695bdab5b94b860f82e88ed5c18) ✅
  • vmd-1.9.2beta1.src.tar.gz - (md5sum: 799628156ae05cba7760772c71daa540) ✅

Other related projects

Additional references about Docker

License:

License Apache License Version 2.0, January 2004 (https://tldrlegal.com/ ; http://choosealicense.com/)

About

Visual Molecular Dynamics in Docker Container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages