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
'Unrecognized Input header' on start #5327
Comments
Can you push your image on the public index ? |
Hi, The image is hosted at: https://index.docker.io/u/tnolet/centos6/
I'm using fleetctl on core-os to schedule the container, and it exits noting that docker exited with status=1, which is correct of course. Update: I could easily reproduce this running a core-os instance on EC2. |
I have same problem. Looks like #2414 is back.
If instead of steps 1 and 2 I do I pushed the image with the error to skolos/rest Finally here is the version of docker that I am running: |
This is a duplicate of #4857. |
I have the exact same problem as @skolos. I realize there are several issues (namely this one, #4857, #4882) here and I've read through what I could find, but am still confused. In my scenario I run an ubuntu image with -i -t and make some changes to it interactively. After this I commit the container to create a new image. I then try to run a command in the image like this: If I run the same command with -t, it appears to run fine. So, why do I have to use -t if I want to run a command that's not interactive? Just because I set things up interactively doesn't mean I want to run them interactively... |
@andynemzek did you test with master? |
Negative, I am using 0.11.1, build fb99f99. Is this no longer a problem in master? That was the other thing that was unclear to me...#4882 seems to imply that the 'fix' is to simply inform the user that they need to use the -t arg. I'm just wondering why this is a requirement. That is, why am I forced to use -t to run future commands after having built something up interactively? |
Running into the very same issue with my ubuntu images; what's the recommendation for a workaround? Different version of docker? |
@rvs from what I understand, the workaround is to use -t when executing a docker image that's been interactively built :( |
@andynemzek building an image interactively does not mean you want to run containers interactively. You could build an apache server interactively and then run apache in a container non-interactively, without a TTY. The PR #4882 honors that behavior which is in master. The solution is to add |
I'm having an issue with this too. I'm building docker images with packer and the resultant images can't be run without -t. Is this a problem with the image's metadata? That seemed to be the conclusion in #4882 but I'm new to docker and I'm trying to sort out what's tripping me up. I'm running 0.11.1. |
@tiborvass yea, that's pretty much my use case actually and is why I started asking questions :) I'm not saying you should have to use -t...I'm saying that's the workaround to get past this bug until #4882 is released. Glad to hear #4882 fixes this. Thanks for the help! |
I have the same kind of error when i try to execute a command from kubernetes. with docker 1.10.0 |
I get this error with docker 1.10.1 and Gitlab CI multi runner. Weird thing it's it happens only sometimes, running again the same container usually works. |
Same for me, while running several containers on a Jenkins CI server. |
It looks like the 1.10 resurrected version of this bug is #19950. |
@Smana @nebirhos @pdalpra a release candidate for 1.10.3, which carries the patch to resolve this is now available for testing https://github.com/docker/docker/releases |
@thaJeztah Planning the upgrade to 1.10.3-rc2 today on our servers today, I'l keep you posted :) |
@pdalpra awesome! I think they're planning to do 1.10.3 GA as well today (San Franscisco time), so a bit short timeframe between RC and GA this time. On that note; did I ask you if you were interested in being added to our "testers" mailinglist? I don't think I've got your contact details, but send me an email at sebastiaan@docker.com and I can add you (and give more details) |
In case others end up here on a
I wish new docker clients were backward compatible with older docker versions since I can't upgrade all servers at the same time. |
@jamshid can you open a new issue, so that we can track it separately? |
@jamshid @thaJeztah I have the same problem and posted it as a new issue: #21902 |
Based on the threads listed below, this should resolve the issue, which is related to building an image with the interactive terminal flag (-t) but then running it without the flag. moby/moby#4882 moby/moby#4857 moby/moby#5327 Change-Type: patch
Based on the threads listed below, this should resolve the issue, which is related to building an image with the interactive terminal flag (-t) but then running it without the flag. moby/moby#4882 moby/moby#4857 moby/moby#5327 Change-Type: patch
After adding some basic packages to the standard centos image and commiting the result, I always get the error: "Unrecognized input header".
The container starts OK, but it doesn't work anymore when using fleetctl. This is 99% sure because of the non-zero exit code.
Additions from the standard centos image are just yum installs of openjdk 1.7, git and tar.
I'm running the latest version on core-os:
Docker version 0.10.0, build dc9c28f
Containers: 24
Images: 29
Storage Driver: btrfs
Execution Driver: native-0.1
Kernel Version: 3.13.10+
Linux core-01 3.13.10+ #2 SMP Wed Apr 16 20:14:42 UTC 2014 x86_64 Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz GenuineIntel GNU/Linux
The text was updated successfully, but these errors were encountered: