Attending KubeCon this year?Learn where to find us
Get started
Login
WireGuard is a registered trademark of Jason A. Donenfeld.
© 2024 Tailscale Inc. All rights reserved. Tailscale is a registered trademark of Tailscale Inc.
Blog|May 10, 2022

Tailscale extension for Docker Desktop launches at DockerCon

alt

You can use Tailscale to securely connect to the resources you need for development, including internal tools and databases, no matter where you are or where your development environment lives.

Today, as part of DockerCon, we’re excited to launch our Tailscale Docker Desktop extension. The Tailscale extension for Docker Desktop makes it easy to share exposed container ports from your local machine with other users and devices on your tailnet.

Use Tailscale in Docker Desktop to share a staged copy of your work with a colleague as part of a code review, or share in-progress feedback with teammates. Or access production resources from your development environment, such a database, a package registry, or a licensing server. Because Tailscale works with SSO from your identity provider, Tailscale makes it easier to safely share what you’re working on with anyone in your organization, based on access controls.

Tailscale doesn’t need an entire kernel to run, as long as there’s some sort of internet connection. That means that Tailscale also works in containers: userspace networking mode allows you to run Tailscale where you don’t have access to create a VPN tunnel device, such as in container environments. Using the device driver /dev/net/tun, Tailscale can instantiate a VPN tunnel and give your containers a static IP to communicate with each other, even if there are container layers between devices.

To get started, add the Tailscale extension in Docker Desktop and log in to your tailnet. This will expose your running containers’ public ports to your tailnet. From there, you can share and manage access to these containers just like any other nodes in your tailnet.

Ross explains how to install and use the Tailscale extension in Docker Desktop.

To get the most from the Tailscale extension for Docker Desktop:

  • Run Tailscale on both your host device and in Docker Desktop. If your host device is not running Tailscale, you will not be able to access your containers locally via Tailscale, such as in your browser.
  • Enable MagicDNS to give your containers short, human-readable DNS names to easily access them.

Learn more about Docker Desktop extensions, and read our documentation to get started with the Tailscale extension in Docker Desktop.

Let us know what you think on Twitter by mentioning @Tailscale.

Share

Authors

Ross ZurowskiRoss Zurowski
Aaron KlotzAaron Klotz
Loading...

Try Tailscale for free

Schedule a demo
Contact sales
cta phone
mercury
instacrt
Retool
duolingo
Hugging Face