Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker "Unknown flag" #4732

Closed
jacopo-chevallard opened this issue Feb 6, 2019 · 3 comments
Closed

Docker "Unknown flag" #4732

jacopo-chevallard opened this issue Feb 6, 2019 · 3 comments

Comments

@jacopo-chevallard
Copy link

Hi, I'm getting a Docker error

Step 5 : FROM scratch
 ---> 
Step 6 : COPY --from=0 /container.beagle/ /
Unknown flag: from

when running this build https://app.shippable.com/github/jacopo-chevallard/BEAGLE/runs/263/1/console, and I was getting an error also when using the

FROM foo as bar

syntax. I tried to update Docker within the container that I boot, but apparently this is not the right way to have an updated Docker version (#4468).

If I run inside my build_ci section

docker --version
Docker version 1.9.1, build a34a1d5

Is this the expected available version? Am I missing something? thanks !

@Bharath92
Copy link

The runtime version your build is running on is a deprecated version. Please go to https://app.shippable.com/subs/github/jacopo-chevallard/nodePools > Click on Edit. In the Runtime Version section, you should be able to update the runtime version of your node pool to a newer version, which have the newer docker releases installed on the on-demand node brought up to run your builds.

http://docs.shippable.com/platform/runtime/machine-image/ami-overview/

@jacopo-chevallard
Copy link
Author

Thanks so much for the super quick answer ! I didn't know users were responsible for manually updating the node version, but I guess this is necessary to prevent breaking build with automatic updates ! I'm re-running the build, I will then update here

@jacopo-chevallard
Copy link
Author

Updating the node version solved the problem, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants