aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-26 18:33:27 +0300
committerBonfaceKilz2021-05-26 20:01:28 +0300
commitc22fdbd6a128ab9c9ddfc14299115a40cec37f07 (patch)
tree035ba8105dfe3b223019b3cb0e9fbd9f6551f76c
parent43d4e9b42f9ebcb9012bc791aa4ac34a15f290a7 (diff)
downloadgenenetwork2-c22fdbd6a128ab9c9ddfc14299115a40cec37f07.tar.gz
doc: docker-container: Rename python3-genenetwork2 to genenetwork2
See: https://is.gd/gHJvhe
-rw-r--r--doc/docker-container.org12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/docker-container.org b/doc/docker-container.org
index c894c4b5..ef0d71fc 100644
--- a/doc/docker-container.org
+++ b/doc/docker-container.org
@@ -32,13 +32,13 @@ First create the gn2 tar archive by running:
env GUIX_PACKAGE_PATH="/home/bonface/projects/guix-bioinformatics:/home/bonface/projects/guix-past/modules" \
./pre-inst-env guix pack --no-grafts\
-S /gn2-profile=/ \
- screen genenetwork2
+ screen python2-genenetwork2
# For the Python 3 version:
env GUIX_PACKAGE_PATH="/home/bonface/projects/guix-bioinformatics:/home/bonface/projects/guix-past/modules" \
./pre-inst-env guix pack --no-grafts\
-S /gn2-profile=/ \
- screen python3-genenetwork2
+ screen genenetwork2
#+end_src
The output will look something similar to:
@@ -59,16 +59,16 @@ RUN tar -xzf /tmp/gn2.tar.gz -C / && rm -f /tmp/gn2.tar.gz && \
Build the image(Note the fullstop at the end):
-: sudo docker build -t python3-genenetwork2:latest -f Dockerfile .
+: sudo docker build -t genenetwork2:latest -f Dockerfile .
To load the image interactively you've just created:
-: docker run -ti "python3-genenetwork2:latest" bash
+: docker run -ti "genenetwork2:latest" bash
Assuming you have a docker instance running, you could always run
commands in it e.g:
-: docker run "python2-genenetwork2:latest" python --version
+: docker run "genenetwork2:latest" python --version
* Pushing to DockerHub
@@ -78,7 +78,7 @@ CI environment using Github Actions.
To push to dockerhub, first get the image name by running =docker
images=. Push to dockerhub using a command similar to:
-: docker push bonfacekilz/python3-genenetwork2:latest
+: docker push bonfacekilz/genenetwork2:latest
Right now, we have 2 images on DockerHub: