Connect a Local Container Registry to a kind Cluster
A local registry and a kind cluster run on the same Docker host but on separate networks. Learn how to connect them by attaching a running container to an additional Docker network.
Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.
A local registry and a kind cluster run on the same Docker host but on separate networks. Learn how to connect them by attaching a running container to an additional Docker network.
A containerized application uses separate frontend and backend networks, but its database can still reach the internet. Make the backend network internal while keeping the application's access to external services.
A reverse proxy, application, and its database share one Docker network. Split the setup across two bridge networks, connecting the application to both so the proxy can reach the application but not the database.
A Docker container cannot reach a service running on the host because the firewall is blocking the connection. Learn how to troubleshoot container-to-host connectivity and allow the traffic without exposing the service to the network.
Learn how to access a service bound to localhost of the Docker host from a bridge-networked container, without exposing the service to the local network or disabling network isolation.
A distroless container serves a debug interface on its own loopback address. Can you reach this debug endpoint using nothing but standard Docker commands?
You are containerizing the dev workflows of a legacy Python service and you need to find out which external services its test suite talks to. Can you think of an easy way to do it?
Ad-hoc containers are a handy way to run command-line tools without installing them on the host. Use one to access a production Redis server and turn off a feature flag. But beware of the gotcha: the production server can only be tunneled to the localhost.
Can you get several builds of an app running side by side without port conflicts, so you can test them simultaneously?
Prove your Linux networking skills by connecting two network namespaces with a virtual Ethernet device.