Ben Chuanlong Du's Blog

It is never too late to learn.

My Configuration Script for Docker Containers Based on dclong/jupyterhub-ds

In [4]:
!cat ../../home/media/config_docker.sh | highlight -O ansi
#!/bin/bash

if [ -d /home_host/$(id -un)/archives/ ]; then
    ln -svf /home_host/$(id -un)/archives $HOME/
fi
if [ -f /workdir/user/$(id -un) ]; then
    ln -svfT /workdir/user/$(id -un) $HOME/projects
fi

xinstall sshc -c
xinstall --sudo git -ic
xinstall svim -ic
xinstall ipy -c
xinstall dsutil -ic

The script can be run directly using the following comamnd.

curl -sSL www.legendu.net/media/config_docker.sh | bash
In [ ]:
 

Comments