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

[feature request] Network ability of container #604

Closed
allencloud opened this issue Jan 18, 2018 · 1 comment · Fixed by #660
Closed

[feature request] Network ability of container #604

allencloud opened this issue Jan 18, 2018 · 1 comment · Fixed by #660
Assignees
Labels
areas/network kind/feature kind/feature-request This is a feature request from community for PouchContainer priority/P1 this is high priority that all maintainers should stop to handle this issue

Comments

@allencloud
Copy link
Collaborator

Issue Description

We cannot access network connection in the container pouch created.

Describe what happened:

root@ubuntu:~/go/src/github.com/alibaba/pouch# pouch run registry.hub.docker.com/library/busybox:latest ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable
root@ubuntu:~/go/src/github.com/alibaba/pouch# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=41 time=40.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=41 time=41.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=41 time=41.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=41 time=41.1 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 40.900/41.187/41.625/0.335 ms
root@ubuntu:~/go/src/github.com/alibaba/pouch# pouch run registry.hub.docker.com/library/busybox:latest ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable

Describe what you expected to happen:

Container can get access of network.

How to reproduce it (as minimally and precisely as possible):

  1. create a container and ping an outer IP address, such as 8.8.8.8

Anything else we need to know?:
NONE

Environment:

  • pouch version (use pouch version):
Os:              linux
Version:         0.1.0-dev
APIVersion:      1.24
Arch:            amd64
BuildTime:       2018-01-18T13:51:23.690205434+08:00
GitCommit:
GoVersion:       go1.9.1
KernelVersion:
  • OS (e.g. from /etc/os-release):Ubuntu 16.04.3 LTS \n \l
  • Kernel (e.g. uname -a):Linux ubuntu 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Install tools:
  • Others:
@allencloud allencloud added the priority/P1 this is high priority that all maintainers should stop to handle this issue label Jan 18, 2018
@pouchrobot pouchrobot added areas/network kind/feature kind/feature-request This is a feature request from community for PouchContainer labels Jan 18, 2018
@pouchrobot
Copy link
Collaborator

pouchrobot commented Jan 18, 2018

Thanks for your report, @allencloud
😱 This is a priority/P0 issue.
Seems to be severe enough.
ping @alibaba/pouch , PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/network kind/feature kind/feature-request This is a feature request from community for PouchContainer priority/P1 this is high priority that all maintainers should stop to handle this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants