On-Premise: Building with docker fails

Sebastian's Avatar

Sebastian

17 Oct, 2019 06:04 PM

Hi,

Running local docker cloud with build image appveyor/build-image:minimal-ubuntu-18.04 fails with the response that /opt/appveyor/build-agent/bash-shell.sh: line 62: docker: command not found.

Is this intentional or a bug?

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Oct, 2019 06:56 PM

    Feodor Fitsner's Avatar

    Hi Sebastian,

    Have you installed Docker before or after AppVeyor?

  2. Support Staff 2 Posted by Feodor Fitsner on 17 Oct, 2019 06:57 PM

    Feodor Fitsner's Avatar

    O, wait a second, is it a message you get "inside" the build?

  3. 3 Posted by Sebastian on 17 Oct, 2019 09:16 PM

    Sebastian's Avatar

    Hi Feodor,

    Thanks for a swift answer. Docker is installed on the machine, the error occurs inside the build.

  4. Support Staff 4 Posted by Feodor Fitsner on 17 Oct, 2019 09:43 PM

    Feodor Fitsner's Avatar

    Is it installed on Windows or Linux?

  5. 5 Posted by Sebastian on 18 Oct, 2019 09:04 AM

    Sebastian's Avatar

    Linux debian, appveyor successfully starts worker for localdocker cloud and tries to build inside of it, but fails with message above

  6. Support Staff 6 Posted by Feodor Fitsner on 18 Oct, 2019 05:21 PM

    Feodor Fitsner's Avatar

    You should mount both Docker socket and tools like described here: https://www.appveyor.com/docs/server/maintenance/#running-docker-co...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac