bump docker and dependencies#1163
Conversation
|
@thaJeztah |
|
oh, dang thought I tested it locally, lol. my bad |
|
Ok, looks like I'm still getting a failure; looking at "why"; Note that that error message ( if platform.OS != "" {
if !(platform.OS == runtime.GOOS || (LCOWSupported() && platform.OS == "linux")) {
return fmt.Errorf("invalid platform os %q", platform.OS)
}
}t.b.h., no idea how we can hit that error if the daemon is running on Linux? The "unknown" looks to come from https://github.com/containerd/containerd/blob/db3c5afc6d61dc3bd1ac48a55156e58bf4557a45/platforms/platforms.go#L233-L240; // Format returns a string specifier from the provided platform specification.
func Format(platform specs.Platform) string {
if platform.OS == "" {
return "unknown"
}
return joinNotEmpty(platform.OS, platform.Architecture, platform.Variant)
}I wonder if returning The reason the I'd have to check but platform empty but not nil is likely my fault, still, I found the |
| ExtraHosts: options.extraHosts.GetAll(), | ||
| Target: options.target, | ||
| Platform: options.platform, | ||
| Platform: &platform, |
There was a problem hiding this comment.
Right, so need to change this, and don't set Platform if options.platform is empty
c6936cc to
c5fdbec
Compare
|
@thaJeztah I think there are still issues with parsing the os/arch only platforms. containerd's |
Hm, good point; was focussing on the other changes, but you're right 😞 We should also discuss the |
|
@johnstep any idea how I was able to hit the lcow path on a Linux daemon? |
|
Ah, never mind the LCOW thing I see it; its |
silvin-lubecki
left a comment
There was a problem hiding this comment.
func runBuild(dockerCli command.Cli, options buildOptions) error really needs to be cut into pieces (290 LoC) 😅
Yup. There was an attempt once, but it didn't make it a lot better (just splitting up the parts in that attempt only hid away complexity, and you still had to go to all the extracted functions to understand what happened) |
|
Created moby/moby#37381 |
Updates docker/docker to 1436dc8f8d0f6f60b6e335fbd918d6b22ee6574d, matching 18.06.0-rc1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
@thaJeztah updated this to match moby master. I suggest we open a similar one for 18.06 branch once docker-archive/engine#7 is merged WDYT? |
Updates docker/docker to b711437bbd8596312c962d4189e9ad4d2108c2dc (from moby master)
ping @tonistiigi PTAL for the platform changes