-
Notifications
You must be signed in to change notification settings - Fork 33
Running alternative versions branches in a Docker container
Nicolas Harraudeau edited this page Nov 7, 2017
·
12 revisions
-
Running different versions within a docker container =======================================================
-
checkout the version you want from git to a folder
-
from there you run
$ docker build -t "image_name" -f dockerize/Dockerfile .
-
checkout the dockerize repository (link see below)
-
change the "b2share" container's
image
line in the docker-compose.yml file. Example:image: eudatb2share/b2share:2.0.1
tobuild: image_name
where "image_name" is the string that you provided in the docker build command above. Now you can run docker-compose up from that directory.
-