I’ve tried building several containers with different images. But not all of them can connect to the internet.
Containers that can connected to the internet:
- alpine:3. Can ping google.com.
- node:17-alpine3.14. Same as above.
- fedora:35. Can do dnf upgrade.
Containers that can’t.
- debian:11. Can’t do apt-get update.
- ubuntu:22.0. Same as above.
No changes between trying these containers. run, delete, then try the next image.
Any clue ?