Last active
May 4, 2016 21:14
-
-
Save atarkowska/0610494b668c64abe1c2f5257325a7d9 to your computer and use it in GitHub Desktop.
omero-grid failing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lifesci-45789:omero-grid-docker ola$ eval "$(docker-machine env omerodev)" | |
lifesci-45789:omero-grid-docker ola$ ./build.py omero-grid | |
Running: docker build --build-arg OMERO_VERSION=latest -t openmicroscopy/omero-grid:latest omero-grid | |
Sending build context to Docker daemon 10.75 kB | |
Step 1 : FROM centos:centos7 | |
---> 778a53015523 | |
Step 2 : MAINTAINER [email protected] | |
---> Using cache | |
---> 068ba647d62a | |
Step 3 : RUN yum -y install epel-release && curl -o /etc/yum.repos.d/zeroc-ice-el7.repo http://download.zeroc.com/Ice/3.5/el7/zeroc-ice-el7.repo && yum -y install unzip wget patch java-1.8.0-openjdk ice ice-python ice-servers python-pip numpy scipy python-matplotlib python-pillow python-tables postgresql && yum clean all | |
---> Using cache | |
---> 68f85dc7a1f6 | |
Step 4 : RUN pip install omego | |
---> Using cache | |
---> d70027fce9e8 | |
Step 5 : RUN useradd omero && mkdir /OMERO && chown omero /OMERO | |
---> Using cache | |
---> c3573abf0ede | |
Step 6 : ARG OMERO_VERSION=latest | |
---> Using cache | |
---> 24cfed15be87 | |
Step 7 : ARG CI_SERVER | |
---> Using cache | |
---> 9fa277b97ce2 | |
Step 8 : ARG OMEGO_ARGS | |
---> Using cache | |
---> e23fd36b81cb | |
Step 9 : USER omero | |
---> Using cache | |
---> 74d94b5a2a44 | |
Step 10 : WORKDIR /home/omero | |
---> Using cache | |
---> f3c5aa39b423 | |
Step 11 : RUN bash -c 'CI=; if [ -n "$CI_SERVER" ]; then CI="--ci $CI_SERVER"; fi; omego download server $CI --release $OMERO_VERSION $OMEGO_ARGS && rm OMERO.server-*.zip && ln -s OMERO.server-*/ OMERO.server' | |
---> Using cache | |
---> 68258b107403 | |
Step 12 : RUN cp OMERO.server/etc/templates/grid/default.xml OMERO.server/etc/templates/grid/default.xml.orig | |
---> Using cache | |
---> fcbcf3a75163 | |
Step 13 : ADD slave.cfg /home/omero/OMERO.server/etc/templates/ | |
---> Using cache | |
---> 3ec5820f0f0d | |
Step 14 : ADD run.sh process_defaultxml.py /home/omero/ | |
---> Using cache | |
---> 5b378fe3d6f2 | |
Step 15 : EXPOSE 4061 4063 4064 | |
---> Using cache | |
---> d068a4ff8d0f | |
Step 16 : VOLUME /OMERO /home/omero/OMERO.server/var | |
---> Using cache | |
---> 8ef87661765c | |
Step 17 : ENTRYPOINT /home/omero/run.sh | |
---> Using cache | |
---> c6d064d213c4 | |
Successfully built c6d064d213c4 | |
Built: openmicroscopy/omero-grid:latest | |
lifesci-45789:omero-grid-docker ola$ ./build.py omero-grid-web | |
Running: docker build --build-arg OMERO_VERSION=latest -t openmicroscopy/omero-grid-web:latest omero-grid-web | |
Sending build context to Docker daemon 5.12 kB | |
Step 1 : FROM centos:centos7 | |
---> 778a53015523 | |
Step 2 : MAINTAINER [email protected] | |
---> Using cache | |
---> 068ba647d62a | |
Step 3 : RUN yum -y install epel-release && curl -o /etc/yum.repos.d/zeroc-ice-el7.repo http://download.zeroc.com/Ice/3.5/el7/zeroc-ice-el7.repo && yum -y install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm && yum -y install unzip wget ice ice-python python-pip numpy scipy python-matplotlib python-pillow python-tables nginx python-gunicorn && yum clean all | |
---> Using cache | |
---> 55571ede1ce6 | |
Step 4 : RUN pip install 'Django<1.9' 'gunicorn>=19.3' omego | |
---> Running in 8b3e481012d2 | |
You are using pip version 7.1.0, however version 8.1.1 is available. | |
You should consider upgrading via the 'pip install --upgrade pip' command. | |
Collecting Django<1.9 | |
Downloading Django-1.8.13-py2.py3-none-any.whl (6.2MB) | |
Collecting gunicorn>=19.3 | |
Downloading gunicorn-19.4.5-py2.py3-none-any.whl (112kB) | |
Collecting omego | |
Downloading omego-0.3.0.tar.gz | |
Collecting yaclifw>=0.1.1 (from omego) | |
Downloading yaclifw-0.1.2.tar.gz | |
Collecting argparse (from yaclifw>=0.1.1->omego) | |
Downloading argparse-1.4.0-py2.py3-none-any.whl | |
Installing collected packages: Django, gunicorn, argparse, yaclifw, omego | |
Found existing installation: gunicorn 18.0 | |
Uninstalling gunicorn-18.0: | |
Successfully uninstalled gunicorn-18.0 | |
Running setup.py install for yaclifw | |
Running setup.py install for omego | |
Successfully installed Django-1.8.13 argparse-1.4.0 gunicorn-19.4.5 omego-0.3.0 yaclifw-0.1.2 | |
---> c19ff6dd72e9 | |
Removing intermediate container 8b3e481012d2 | |
Step 5 : RUN useradd omero && rm /etc/nginx/conf.d/* && sed -i -r -e 's|/var/([^/]+)(/nginx)?/|/home/omero/nginx/\1/|' -e '/^user/s/^/#/' /etc/nginx/nginx.conf && rm -rf /var/cache/nginx /var/log/nginx && chown -R omero /etc/nginx/conf.d && ln -sf /home/omero/nginx/cache /var/cache/nginx && ln -sf /home/omero/nginx/log /var/log/nginx | |
---> Running in 2785b1ef2f08 | |
---> 032ae5f4be3c | |
Removing intermediate container 2785b1ef2f08 | |
Step 6 : ARG OMERO_VERSION=latest | |
---> Running in 956c428eae29 | |
---> b90afcadcfa3 | |
Removing intermediate container 956c428eae29 | |
Step 7 : ARG CI_SERVER | |
---> Running in 8edbd5e1b4c3 | |
---> 43cbde9a7aaf | |
Removing intermediate container 8edbd5e1b4c3 | |
Step 8 : ARG OMEGO_ARGS | |
---> Running in 42738a03376f | |
---> b37eb71ceceb | |
Removing intermediate container 42738a03376f | |
Step 9 : USER omero | |
---> Running in 10ba53347a0f | |
---> 6716946870e7 | |
Removing intermediate container 10ba53347a0f | |
Step 10 : WORKDIR /home/omero | |
---> Running in 6db901c93b66 | |
---> 979f29f10add | |
Removing intermediate container 6db901c93b66 | |
Step 11 : RUN bash -c 'CI=; if [ -n "$CI_SERVER" ]; then CI="--ci $CI_SERVER"; fi; omego download python $CI --release $OMERO_VERSION $OMEGO_ARGS && rm OMERO.py-*.zip && ln -s OMERO.py-*/ OMERO.server' | |
---> Running in 8bc8153b72b9 | |
2016-05-04 21:11:14,442 [omego.artifa] INFO Checking http://downloads.openmicroscopy.org/omero/5.2.3/./artifacts/OMERO.py-5.2.3-ice36-b22.zip | |
2016-05-04 21:11:14,443 [omego.fileut] INFO Downloading http://downloads.openmicroscopy.org/omero/5.2.3/./artifacts/OMERO.py-5.2.3-ice36-b22.zip | |
2016-05-04 21:11:16,135 [omego.artifa] INFO Unzipping OMERO.py-5.2.3-ice36-b22.zip | |
---> bf030d3e8250 | |
Removing intermediate container 8bc8153b72b9 | |
Step 12 : RUN mkdir -p nginx/cache nginx/log nginx/run nginx/temp OMERO.server/var | |
---> Running in c806b35e3445 | |
---> 838d2b86fcb5 | |
Removing intermediate container c806b35e3445 | |
Step 13 : ADD run.sh /home/omero/ | |
---> 5d8f9dcaeb64 | |
Removing intermediate container 6ecb0c9de154 | |
Step 14 : EXPOSE 8080 | |
---> Running in fa87915ae838 | |
---> 71000692d507 | |
Removing intermediate container fa87915ae838 | |
Step 15 : VOLUME /home/omero/nginx /home/omero/OMERO.server/var | |
---> Running in 8483d24e8d23 | |
---> 077cb02a3a27 | |
Removing intermediate container 8483d24e8d23 | |
Step 16 : ENTRYPOINT /home/omero/run.sh | |
---> Running in 3ea0252c9919 | |
---> 6d2e4d660839 | |
Removing intermediate container 3ea0252c9919 | |
Successfully built 6d2e4d660839 | |
Built: openmicroscopy/omero-grid-web:latest | |
lifesci-45789:omero-grid-docker ola$ docker run -d --name postgres -e POSTGRES_PASSWORD=postgres postgres | |
docker: Error response from daemon: Conflict. The name "/postgres" is already in use by container 6988251c56e7d0565d75223eb9e3675c1790518718585f383118d9994778bc23. You have to remove (or rename) that container to be able to reuse that name.. | |
See 'docker run --help'. | |
lifesci-45789:omero-grid-docker ola$ docker stop postgres | |
postgres | |
lifesci-45789:omero-grid-docker ola$ docker rm postgres | |
postgres | |
lifesci-45789:omero-grid-docker ola$ docker run -d --name postgres -e POSTGRES_PASSWORD=postgres postgres | |
bf23cd70d6c95a4caaef4526189bd665aa3da0469283c36d6bc5ea188b53f06e | |
lifesci-45789:omero-grid-docker ola$ docker run -d --name omero-master --link postgres:db -e DBUSER=postgres -e DBPASS=postgres -e DBNAME=postgres -p 4063:4063 -p 4064:4064 openmicroscopy/omero-grid master | |
docker: Error response from daemon: Conflict. The name "/omero-master" is already in use by container 8c7e8a412c85342d720871e5af90f15e144ec00c90e88e70a9ebc87e2954c703. You have to remove (or rename) that container to be able to reuse that name.. | |
See 'docker run --help'. | |
lifesci-45789:omero-grid-docker ola$ docker rm omero-master | |
omero-master | |
lifesci-45789:omero-grid-docker ola$ docker run -d --name omero-master --link postgres:db -e DBUSER=postgres -e DBPASS=postgres -e DBNAME=postgres -p 4063:4063 -p 4064:4064 openmicroscopy/omero-grid master | |
d9eeb296c50808676d352c7def4ca634f12b1e3f0724f17b3b320d93a3bf2a20 | |
lifesci-45789:omero-grid-docker ola$ docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
bf23cd70d6c9 postgres "/docker-entrypoint.s" 27 seconds ago Up 27 seconds 5432/tcp postgres | |
lifesci-45789:omero-grid-docker ola$ docker run -d --name omero-web --link omero-master:master -p 8080:8080 openmicroscopy/omero-grid-web | |
d58847cd681afc0e240feae8c490d221732f4787ccf922577189ca0bec0c3252 | |
docker: Error response from daemon: Cannot link to a non running container: /omero-master AS /omero-web/master. | |
lifesci-45789:omero-grid-docker ola$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment