Notes à propos de Docker (containers)
Cette doc et pour "mémo" uniquement
Cette doc a été créée lors d'un test d'installation de la DRS sous forme de Docker, malheureusement la version 64 bit n'a pas fonctionné. Ainsi le choix s'est orienté avec Virtual Box et une installation d'une image 32 bits
Docker (containers)
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install docker-engine
# Add user 'obs' to docker group:
usermod -aG docker obs
- Reboot
docker pull marblestation/astro
rsync -avhP sblancoc@obslogin1.unige.ch:/home/photom/sblancoc/apps/astrometry/data/ /opt/astrometry.net/
cd /opt/
git clone https://github.com/marblestation/iSpec
cd /opt/iSpec/
wget http://obswww.unige.ch/~sblancoc/data/iSpec/dev/input.tar.gz
tar -zxvf input.tar.gz
rm -f input.tar.gz
chown -R obs /opt/iSpec/
cd /opt/
git clone https://github.com/marblestation/ePipe
cd /opt/ePipe
wget http://obswww.unige.ch/~sblancoc/data/ePipe/input.tar.gz
tar -zxvf input.tar.gz
rm -f input.tar.gz
rsync -avhP sblancoc@obslogin1.unige.ch:/home/photom/sblancoc/shared/ePipe_examples $HOME/ePipe_examples
Suivre instructions pour changer .bashrc:
https://github.com/marblestation/docker-astro
Et executer :
docker_astro_container
Pour tester la pipeline de reduction:
docker pull centos:5.11 docker run -it --rm -v $HOME:/workspace centos:5.11 bash yum update