You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i have cretaed a bridge and attched to teh container but when am tring to access google inside conatiner faing could connect error
Output of podman info:
vm
host:
arch: amd64
buildahVersion: 1.31.2
cgroupControllers:
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: conmon_2:2.1.8-0ubuntu22.04+obs16.23_amd64
path: /usr/bin/conmon
version: 'conmon version 2.1.8, commit: '
cpuUtilization:
idlePercent: 90.28
systemPercent: 1.75
userPercent: 7.96
cpus: 4
databaseBackend: boltdb
distribution:
codename: jammy
distribution: ubuntu
version: "22.04"
eventLogger: journald
freeLocks: 2039
hostname: ubuntu
idMappings:
gidmap:
host_id: 1000
size: 1
host_id: 100000
size: 65536
uidmap:
host_id: 1000
size: 1
host_id: 100000
size: 65536
kernel: 5.15.0-73-generic
linkmode: dynamic
logDriver: journald
memFree: 2538020864
memTotal: 16778788864
networkBackend: netavark
networkBackendInfo:
backend: netavark
dns:
package: aardvark-dns_1.6.0-0ubuntu22.04+obs34.25_amd64
path: /usr/libexec/podman/aardvark-dns
version: aardvark-dns 1.6.0
package: netavark_1.3.0-0ubuntu22.04+obs22.9_amd64
path: /usr/libexec/podman/netavark
version: netavark 1.3.0
ociRuntime:
name: crun
package: crun_101:1.11.1-0ubuntu22.04+obs63.1_amd64
path: /usr/bin/crun
version: |-
crun version 1.11.1
commit: 1084f9527c143699b593b44c23555fb3cc4ff2f3
rundir: /run/user/1000/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
os: linux
pasta:
executable: ""
package: ""
version: ""
remoteSocket:
exists: true
path: /run/user/1000/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: true
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns_1.2.2-0ubuntu22.04+obs12.11_amd64
version: |-
slirp4netns version 1.2.2
commit: 0ee2d87523e906518d34a6b423271e4826f71faf
libslirp: 4.6.1
SLIRP_CONFIG_VERSION_MAX: 3
libseccomp: 2.5.3
swapFree: 4293378048
swapTotal: 4294963200
uptime: 0h 49m 23.00s
plugins:
authorization: null
log:
network:
volume:
registries:
2620:145:400::87:9443:
Blocked: false
Insecure: true
Location: 2620:145:400::87:9443
MirrorByDigestOnly: false
Mirrors: []
Prefix: 2620:145:400::87:9443
PullFromMirror: ""
localhost:9443:
Blocked: false
Insecure: true
Location: localhost:9443
MirrorByDigestOnly: false
Mirrors: []
Prefix: localhost:9443
PullFromMirror: ""
store:
configFile: /home/ubuntu/.config/containers/storage.conf
containerStore:
number: 3
paused: 0
running: 3
stopped: 0
graphDriverName: overlay
graphOptions: {}
graphRoot: /home/ubuntu/.local/share/containers/storage
graphRootAllocated: 88179048448
graphRootUsed: 14806335488
graphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "true"
Supports d_type: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 3
runRoot: /run/user/1000/containers
transientStore: false
volumePath: /home/ubuntu/.local/share/containers/storage/volumes
version:
APIVersion: 4.6.2
Built: 0
BuiltTime: Thu Jan 1 00:00:00 1970
GitCommit: ""
GoVersion: go1.18.1
Os: linux
OsArch: linux/amd64
Version: 4.6.2
command i have ran insdie container
curl -kv -g -6 https://google.com
network bridge output
[
{
"name": "bridge1",
"id": "f411112c51ce1f62358a3715c121b5394191dd717dfddbaecfed4897ca830e9e",
"driver": "bridge",
"network_interface": "podman1",
"created": "2023-11-14T11:33:52.266137812Z",
"subnets": [
{
"subnet": "172.18.0.0/29",
"gateway": "172.18.0.1"
},
{
"subnet": "fd00:d311:e3c:5c6::/64",
"gateway": "fd00:d311:e3c:5c6::1"
}
],
"ipv6_enabled": true,
"internal": false,
"dns_enabled": true,
"ipam_options": {
"driver": "host-local"
}
}
]
enable the slirp4netns ipv6 option in containers.conf
root 51626 0.0 0.0 6036 3272 pts/2 S 11:33 0:00 /usr/bin/slirp4netns --disable-host-loopback --mtu=65520 --enable-sandbox --enable-seccomp --enable-ipv6 -c -r 3 --netns-type=path /run/user/1000/netns/rootless-netns-98073043b98478303989 tap0
root 60021 0.0 0.0 6476 2288 pts/3 S+ 12:14 0:00 grep --color=auto slirp
Beta Was this translation helpful? Give feedback.
All reactions