Open heekinho opened 4 months ago
Description
I cannot use network, or even ping anything when using balena-engine. If I add --net host it starts working again.
--net host
Steps to reproduce the issue:
sudo balena-engine run --rm balenalib/amd64-ubuntu:jammy ping 8.8.8.8
Describe the results you received:
$ sudo balena-engine run --rm balenalib/amd64-ubuntu:jammy ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C^C--- 8.8.8.8 ping statistics --- 9 packets transmitted, 0 packets received, 100% packet loss
Describe the results you expected: When using docker, I just get correct output:
$ sudo docker run --rm balenalib/amd64-ubuntu:jammy ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=33.608 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=34.124 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=33.602 ms ^C--- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss
Output of balena-engine version:
balena-engine version
Client: Version: dev API version: 1.41 Go version: go1.17.11 Git commit: HEAD Built: Mon Feb 5 13:11:19 2024 OS/Arch: linux/amd64 Context: default Experimental: true Server: Engine: Version: dev API version: 1.41 (minimum version 1.12) Go version: go1.17.11 Git commit: HEAD Built: Mon Feb 5 13:11:19 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.19 GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc: Version: unknown GitCommit:
Output of balena-engine info:
balena-engine info
Client: Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc., v0.16.1) compose: Docker Compose (Docker Inc., v2.29.1) Server: Containers: 3 Running: 2 Paused: 0 Stopped: 1 Images: 6 Server Version: dev Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host null Log: journald json-file local Swarm: NodeID: Is Manager: false Node Address: Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc Default Runtime: runc Init Binary: balena-engine-init containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc version: init version: N/A Security Options: apparmor seccomp Profile: default cgroupns Kernel Version: 6.9.3-76060903-generic Operating System: Pop!_OS 22.04 LTS OSType: linux Architecture: x86_64 CPUs: 12 Total Memory: 31.03GiB Name: pop-os ID: IOJY:MHDD:NRXF:RN6O:BHTR:NNQL:AZBK:6OYL:HFCN:WKY6:QT6U:F66G Docker Root Dir: /var/lib/balena-engine Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
Description
I cannot use network, or even ping anything when using balena-engine. If I add
--net host
it starts working again.Steps to reproduce the issue:
sudo balena-engine run --rm balenalib/amd64-ubuntu:jammy ping 8.8.8.8
Describe the results you received:
Describe the results you expected: When using docker, I just get correct output:
Output of
balena-engine version
:Output of
balena-engine info
: