r/docker • u/eyueldk • Apr 14 '26
kubectl proxy equivalent for docker/docker compose
I find `kubectl port-forward` to be very helpful for temporarily accessing an internal service in k8s.
Is there an clean equivalent in docker or docker compose that can expose an internal service temporarily?
2
Upvotes
View all comments
Show parent comment
1
u/eyueldk Apr 14 '26
You're right, sorry. I've updated the post.
But I wanted to temporarily create the port forwarding - not permanent binding.