Created
May 5, 2017 16:07
-
-
Save nrvale0/fde1e0f6ad1ff03e65dbf82fb778cb96 to your computer and use it in GitHub Desktop.
Problems w/ 'vagrant destroy -f' and Docker provider
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
$ vagrant up && vagrant destroy -f) > /tmp/log 2>&1 | |
Bringing machine 'consul0' up with 'docker' provider... | |
Bringing machine 'vault0' up with 'docker' provider... | |
Bringing machine 'nomad-server0' up with 'docker' provider... | |
Bringing machine 'nomad-client0' up with 'docker' provider... | |
Bringing machine 'nomad-client1' up with 'docker' provider... | |
Bringing machine 'nomad-client2' up with 'docker' provider... | |
==> nomad-client2: Building the container from a Dockerfile... | |
nomad-client2: Sending build context to Docker daemon 152.6kB | |
nomad-client2: Step 1/18 : FROM python:3 | |
nomad-client2: ---> a1782fa44ef7 | |
nomad-client2: Step 2/18 : ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 4462ac824ba8 | |
nomad-client2: Step 3/18 : ENV TERM ansi DEBIAN_FRONTEND noninteractive DEBCONF_NONINTERACTIVE_SEEN true | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 9bfd66d3acab | |
nomad-client2: Step 4/18 : RUN apt-get update && apt-get -y dselect-upgrade && apt-get install -y wget zip htop && pip install xonsh && apt-get clean all && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 0e0aaac2389d | |
nomad-client2: Step 5/18 : WORKDIR /usr/local/bin | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 658aa4326683 | |
nomad-client2: Step 6/18 : ARG TINI_VERSION=v0.14.0 | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> c7960cb84d54 | |
nomad-client2: Step 7/18 : RUN wget -c -O tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> fc50322d8134 | |
nomad-client2: Step 8/18 : ARG CONSUL_VERSION=0.8.1 | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 4f08cb66c4e6 | |
nomad-client2: Step 9/18 : RUN wget -O consul.zip -c https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip && unzip consul.zip | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 403ef456896d | |
nomad-client2: Step 10/18 : ARG VAULT_VERSION=0.7.0 | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> f777b362e2e6 | |
nomad-client2: Step 11/18 : RUN wget -O vault.zip -c https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && unzip vault.zip | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> ce27de805246 | |
nomad-client2: Step 12/18 : ARG NOMAD_VERSION=0.5.6 | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 5c4551fd216e | |
nomad-client2: Step 13/18 : RUN wget -O nomad.zip -c https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip && unzip nomad.zip | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> ba55e4e3a18c | |
nomad-client2: Step 14/18 : COPY entrypoint.xsh /usr/local/bin/ | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 5658840fb94c | |
nomad-client2: Step 15/18 : RUN chmod +x /usr/local/bin/tini /usr/local/bin/consul /usr/local/bin/vault /usr/local/bin/nomad /usr/local/bin/entrypoint.xsh | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> cf1caa38e0b6 | |
nomad-client2: Step 16/18 : COPY Dockerfile / | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 244681878ef0 | |
nomad-client2: Step 17/18 : WORKDIR / | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> 691a1c4512f4 | |
nomad-client2: Step 18/18 : ENTRYPOINT /usr/local/bin/tini /usr/local/bin/entrypoint.xsh | |
nomad-client2: ---> Using cache | |
nomad-client2: ---> f77bb3034567 | |
nomad-client2: Successfully built f77bb3034567 | |
nomad-client2: | |
nomad-client2: Image: f77bb3034567 | |
==> nomad-server0: Building the container from a Dockerfile... | |
nomad-server0: Sending build context to Docker daemon 159.7kB | |
nomad-server0: Step 1/18 : FROM python:3 | |
nomad-server0: ---> a1782fa44ef7 | |
nomad-server0: Step 2/18 : ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 4462ac824ba8 | |
nomad-server0: Step 3/18 : ENV TERM ansi DEBIAN_FRONTEND noninteractive DEBCONF_NONINTERACTIVE_SEEN true | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 9bfd66d3acab | |
nomad-server0: Step 4/18 : RUN apt-get update && apt-get -y dselect-upgrade && apt-get install -y wget zip htop && pip install xonsh && apt-get clean all && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 0e0aaac2389d | |
nomad-server0: Step 5/18 : WORKDIR /usr/local/bin | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 658aa4326683 | |
nomad-server0: Step 6/18 : ARG TINI_VERSION=v0.14.0 | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> c7960cb84d54 | |
nomad-server0: Step 7/18 : RUN wget -c -O tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> fc50322d8134 | |
nomad-server0: Step 8/18 : ARG CONSUL_VERSION=0.8.1 | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 4f08cb66c4e6 | |
nomad-server0: Step 9/18 : RUN wget -O consul.zip -c https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip && unzip consul.zip | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 403ef456896d | |
nomad-server0: Step 10/18 : ARG VAULT_VERSION=0.7.0 | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> f777b362e2e6 | |
nomad-server0: Step 11/18 : RUN wget -O vault.zip -c https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && unzip vault.zip | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> ce27de805246 | |
nomad-server0: Step 12/18 : ARG NOMAD_VERSION=0.5.6 | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 5c4551fd216e | |
nomad-server0: Step 13/18 : RUN wget -O nomad.zip -c https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip && unzip nomad.zip | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> ba55e4e3a18c | |
nomad-server0: Step 14/18 : COPY entrypoint.xsh /usr/local/bin/ | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 5658840fb94c | |
nomad-server0: Step 15/18 : RUN chmod +x /usr/local/bin/tini /usr/local/bin/consul /usr/local/bin/vault /usr/local/bin/nomad /usr/local/bin/entrypoint.xsh | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> cf1caa38e0b6 | |
nomad-server0: Step 16/18 : COPY Dockerfile / | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 244681878ef0 | |
nomad-server0: Step 17/18 : WORKDIR / | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> 691a1c4512f4 | |
nomad-server0: Step 18/18 : ENTRYPOINT /usr/local/bin/tini /usr/local/bin/entrypoint.xsh | |
nomad-server0: ---> Using cache | |
nomad-server0: ---> f77bb3034567 | |
nomad-server0: Successfully built f77bb3034567 | |
nomad-server0: | |
nomad-server0: Image: f77bb3034567 | |
==> nomad-client2: Creating the container... | |
nomad-client2: Name: nomad-client2 | |
nomad-client2: Image: f77bb3034567 | |
nomad-client2: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
==> consul0: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> vault0: Fixed port collision for 22 => 2222. Now on port 2201. | |
==> vault0: Creating the container... | |
vault0: Name: vault0 | |
==> consul0: Creating the container... | |
vault0: Image: vault | |
consul0: Name: consul0 | |
vault0: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
consul0: Image: consul | |
==> nomad-client0: Building the container from a Dockerfile... | |
consul0: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
==> nomad-server0: Fixed port collision for 22 => 2222. Now on port 2202. | |
nomad-client0: Sending build context to Docker daemon 166.9kB | |
==> nomad-server0: Creating the container... | |
nomad-server0: Name: nomad-server0 | |
nomad-server0: Image: f77bb3034567 | |
nomad-server0: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
nomad-client0: Step 1/18 : FROM python:3 | |
nomad-client0: ---> a1782fa44ef7 | |
nomad-client0: Step 2/18 : ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 4462ac824ba8 | |
nomad-client0: Step 3/18 : ENV TERM ansi DEBIAN_FRONTEND noninteractive DEBCONF_NONINTERACTIVE_SEEN true | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 9bfd66d3acab | |
nomad-client0: Step 4/18 : RUN apt-get update && apt-get -y dselect-upgrade && apt-get install -y wget zip htop && pip install xonsh && apt-get clean all && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 0e0aaac2389d | |
nomad-client0: Step 5/18 : WORKDIR /usr/local/bin | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 658aa4326683 | |
nomad-client0: Step 6/18 : ARG TINI_VERSION=v0.14.0 | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> c7960cb84d54 | |
nomad-client0: Step 7/18 : RUN wget -c -O tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> fc50322d8134 | |
nomad-client0: Step 8/18 : ARG CONSUL_VERSION=0.8.1 | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 4f08cb66c4e6 | |
nomad-client0: Step 9/18 : RUN wget -O consul.zip -c https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip && unzip consul.zip | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 403ef456896d | |
nomad-client0: Step 10/18 : ARG VAULT_VERSION=0.7.0 | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> f777b362e2e6 | |
nomad-client0: Step 11/18 : RUN wget -O vault.zip -c https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && unzip vault.zip | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> ce27de805246 | |
nomad-client0: Step 12/18 : ARG NOMAD_VERSION=0.5.6 | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 5c4551fd216e | |
nomad-client0: Step 13/18 : RUN wget -O nomad.zip -c https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip && unzip nomad.zip | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> ba55e4e3a18c | |
nomad-client0: Step 14/18 : COPY entrypoint.xsh /usr/local/bin/ | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 5658840fb94c | |
nomad-client0: Step 15/18 : RUN chmod +x /usr/local/bin/tini /usr/local/bin/consul /usr/local/bin/vault /usr/local/bin/nomad /usr/local/bin/entrypoint.xsh | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> cf1caa38e0b6 | |
nomad-client0: Step 16/18 : COPY Dockerfile / | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 244681878ef0 | |
nomad-client0: Step 17/18 : WORKDIR / | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> 691a1c4512f4 | |
nomad-client0: Step 18/18 : ENTRYPOINT /usr/local/bin/tini /usr/local/bin/entrypoint.xsh | |
nomad-client0: ---> Using cache | |
nomad-client0: ---> f77bb3034567 | |
nomad-client0: Successfully built f77bb3034567 | |
nomad-client0: | |
nomad-client0: Image: f77bb3034567 | |
==> nomad-client1: Building the container from a Dockerfile... | |
nomad-client2: | |
nomad-client2: Container created: 94e1ddb6c905c246 | |
nomad-client1: Sending build context to Docker daemon 167.9kB | |
nomad-client1: Step 1/18 : FROM python:3 | |
nomad-client1: ---> a1782fa44ef7 | |
nomad-client1: Step 2/18 : ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 4462ac824ba8 | |
nomad-client1: Step 3/18 : ENV TERM ansi DEBIAN_FRONTEND noninteractive DEBCONF_NONINTERACTIVE_SEEN true | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 9bfd66d3acab | |
nomad-client1: Step 4/18 : RUN apt-get update && apt-get -y dselect-upgrade && apt-get install -y wget zip htop && pip install xonsh && apt-get clean all && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 0e0aaac2389d | |
nomad-client1: Step 5/18 : WORKDIR /usr/local/bin | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 658aa4326683 | |
nomad-client1: Step 6/18 : ARG TINI_VERSION=v0.14.0 | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> c7960cb84d54 | |
nomad-client1: Step 7/18 : RUN wget -c -O tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> fc50322d8134 | |
nomad-client1: Step 8/18 : ARG CONSUL_VERSION=0.8.1 | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 4f08cb66c4e6 | |
nomad-client1: Step 9/18 : RUN wget -O consul.zip -c https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip && unzip consul.zip | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 403ef456896d | |
nomad-client1: Step 10/18 : ARG VAULT_VERSION=0.7.0 | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> f777b362e2e6 | |
nomad-client1: Step 11/18 : RUN wget -O vault.zip -c https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && unzip vault.zip | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> ce27de805246 | |
nomad-client1: Step 12/18 : ARG NOMAD_VERSION=0.5.6 | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 5c4551fd216e | |
nomad-client1: Step 13/18 : RUN wget -O nomad.zip -c https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip && unzip nomad.zip | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> ba55e4e3a18c | |
nomad-client1: Step 14/18 : COPY entrypoint.xsh /usr/local/bin/ | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 5658840fb94c | |
nomad-client1: Step 15/18 : RUN chmod +x /usr/local/bin/tini /usr/local/bin/consul /usr/local/bin/vault /usr/local/bin/nomad /usr/local/bin/entrypoint.xsh | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> cf1caa38e0b6 | |
nomad-client1: Step 16/18 : COPY Dockerfile / | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 244681878ef0 | |
nomad-client1: Step 17/18 : WORKDIR / | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> 691a1c4512f4 | |
nomad-client1: Step 18/18 : ENTRYPOINT /usr/local/bin/tini /usr/local/bin/entrypoint.xsh | |
nomad-client1: ---> Using cache | |
nomad-client1: ---> f77bb3034567 | |
nomad-client1: Successfully built f77bb3034567 | |
vault0: | |
vault0: Container created: ea84681bfcf1f51f | |
nomad-client1: | |
nomad-client1: Image: f77bb3034567 | |
consul0: | |
consul0: Container created: b4b511ef729bfb46 | |
==> nomad-client0: Fixed port collision for 22 => 2222. Now on port 2203. | |
==> nomad-client0: Creating the container... | |
nomad-client0: Name: nomad-client0 | |
nomad-client0: Image: f77bb3034567 | |
nomad-client0: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
nomad-server0: | |
nomad-server0: Container created: 429f97b0c4cc960d | |
==> consul0: Starting container... | |
==> nomad-client1: Fixed port collision for 22 => 2222. Now on port 2204. | |
==> nomad-client1: Creating the container... | |
nomad-client1: Name: nomad-client1 | |
nomad-client1: Image: f77bb3034567 | |
nomad-client1: Volume: /home/nrvale0/workspace/gitlab/nrvale0/sandbox-vagrant-hashistack:/vagrant | |
nomad-client0: | |
nomad-client0: Container created: a96e94bfb4bf702f | |
==> vault0: Starting container... | |
==> nomad-client2: Starting container... | |
nomad-client1: | |
nomad-client1: Container created: 62f3c9999767296e | |
==> nomad-server0: Starting container... | |
==> nomad-client0: Starting container... | |
==> consul0: Provisioners will not be run since container doesn't support SSH. | |
==> vault0: Provisioners will not be run since container doesn't support SSH. | |
==> nomad-client2: Provisioners will not be run since container doesn't support SSH. | |
==> nomad-client0: Provisioners will not be run since container doesn't support SSH. | |
==> nomad-client1: Starting container... | |
==> nomad-server0: Provisioners will not be run since container doesn't support SSH. | |
==> nomad-client1: Provisioners will not be run since container doesn't support SSH. | |
==> nomad-client2: Stopping container... | |
==> nomad-client2: Deleting the container... | |
==> nomad-client2: Removing built image... | |
A Docker command executed by Vagrant didn't complete successfully! | |
The command run along with the output from the command is shown | |
below. | |
Command: ["docker", "rmi", "f77bb3034567", {:notify=>[:stdout, :stderr]}] | |
Stderr: Error response from daemon: conflict: unable to delete f77bb3034567 (cannot be forced) - image is being used by running container 429f97b0c4cc | |
Stdout: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment