add more details

This commit is contained in:
Kuoi 2022-07-20 04:21:30 +01:00 committed by GitHub
parent ae04d8af82
commit 2b3aa90d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ Install [docker](https://www.docker.com/) and start it
```
docker pull bioarchlinux/bioarchlinux
docker run -it --name container_name bioarchlinux/bioarchlinux
docker run -it --name container_name --restart=always bioarchlinux/bioarchlinux /bin/bash
```
## Choose mirror
@ -31,3 +31,21 @@ Finally, you can install any packages from BioArchLinux
pacman -Syu
pacman -S foo
```
## Exit
```
exit
```
## Enter
If the container is stoped
```
docker restart container_id
docker exec -it container_id/container_name /bin/bash
```
If the container is running
```
docker exec -it container_id/container_name /bin/bash
```