Install docker and start it
# docker pull bioarchlinux/bioarchlinux
# docker run -it --privileged --name container_name --restart=always bioarchlinux/bioarchlinux /bin/bash
then you need to choose a mirror of archlinux and bioarchlinux
choose mirror of archlinux from here and run the following command ( take sdu mirror as the example)
# echo 'Server = https://mirrors.sdu.edu.cn/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
choose mirror bioarchlinux from here and run the following command ( take sdu mirror as the example)
# echo 'Server = https://mirrors.sdu.edu.cn/bioarchlinux/$arch' > /etc/pacman.d/mirrorlist.bio
Finally, you can install any packages from BioArchLinux
# pacman -Syu
# pacman -S foo
# exit
If the container is stoped, container_name
can be replaced with container_id
# docker restart container_name
# docker exec -it container_name /bin/bash
If the container is running, container_name
can be replaced with container_id
# docker exec -it container_name /bin/bash
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
96bfaee1b8cb bioarchlinux/bioarchlinux "/bin/bash" 2 hours ago Up 2 hours bio