Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Error on run container with transparent network #263

Open
l0k9j8 opened this issue Nov 12, 2018 · 2 comments
Open

Error on run container with transparent network #263

l0k9j8 opened this issue Nov 12, 2018 · 2 comments

Comments

@l0k9j8
Copy link

l0k9j8 commented Nov 12, 2018

Docker does not launch linux container in lcow with "transparent" network.
Stack trace:

PS >docker run --platform=linux -it  --network=tlan --rm busybox /bin/sh
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: container da71f3c3edde0fa231555a0a6c38a0e8fbbef9e72b02e37db3f024a9328c4225 encountered an error during CreateProcess: failure in a Windows system call: Unspecified error (0x80004005)
[Event Detail: failed to link resolv.conf file for adapter a9af35d3-797d-4d5d-b1c6-f1684dae0859: link /etc/resolv.conf /tmp/base/etc/resolv.conf: invalid cross-device link Stack Trace:
github.com/Microsoft/opengcs/service/gcs/oslayer/realos.(*realOS).Link
        /go/src/github.com/Microsoft/opengcs/service/gcs/oslayer/realos/realos.go:232
github.com/Microsoft/opengcs/service/gcs/core/gcs.(*gcsCore).configureAdapterInNamespace
        /go/src/github.com/Microsoft/opengcs/service/gcs/core/gcs/networking.go:57
github.com/Microsoft/opengcs/service/gcs/core/gcs.(*gcsCore).ExecProcess
        /go/src/github.com/Microsoft/opengcs/service/gcs/core/gcs/gcs.go:369
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).execProcess
        /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:582
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).(github.com/Microsoft/opengcs/service/gcs/bridge.execProcess)-fm
        /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:236
github.com/Microsoft/opengcs/service/gcs/bridge.HandlerFunc.ServeMsg
        /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:68
github.com/Microsoft/opengcs/service/gcs/bridge.(*Mux).ServeMsg
        /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:139
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).ListenAndServe.func2.1
        /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:315
runtime.goexit
        /usr/lib/go/src/runtime/asm_amd64.s:2361

Docker version:

PS > docker version
Client: Docker Engine - Community
 Version:           18.09.0-ce-beta1
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        78a6bdb
 Built:             Thu Sep  6 22:42:13 2018
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0-ce-beta1
  API version:      1.39 (minimum version 1.24)
  Go version:       go1.10.3
  Git commit:       78a6bdb
  Built:            Thu Sep  6 22:57:45 2018
  OS/Arch:          windows/amd64
  Experimental:     true

Network:

PS > docker network list
NETWORK ID          NAME                DRIVER              SCOPE
c83b85455733        nat                 nat                 local
85836351a8fc        none                null                local
61abce81d6b7        tlan                transparent         local
@jterry75
Copy link
Contributor

@jhowardmsft - FYI

As far as I know only NAT mode is known to work for LCOW v1.

@dpaissan
Copy link

dpaissan commented Apr 5, 2019

@jterry75 - Do you have any reference to the documentation? I cannot find anything that states "only NAT mode is known to work for LCOW v1", except for your comment...

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

No branches or pull requests

3 participants