tailscale / docker-extension Goto Github PK
View Code? Open in Web Editor NEWDocker Desktop extension adding Tailscale networking.
Docker Desktop extension adding Tailscale networking.
A few times in the past (eg. #48) we've forgotten to update the latest Docker image after making changes in this repository. We should set up proper CI to publish the latest image once we've tagged a release.
New builds of Docker Desktop support a new URL scheme (docker-desktop://dashboard/open
), which opens the Docker Desktop app. It'd be nice to add this to the end of the login flow for Docker logins.
TL;DR Our installer allows Tailscale to be installed somewhere other than C:\Program Files
. Since we add it to the PATH
, maybe using the shell to query for its location might be better?
Currently when navigating to the Docker extension tab, we need to load the webpage, and then fetch the latest state from Tailscale before we can show anything to users. This means there's usually 300-600ms of loading before anything happens.
I timed it, and it takes 8ms to start up the React page's render, but ~300ms to reach out to the Tailscale service inside the VM. We can trim this down by saving the latest Tailscale state to localStorage so that on subsequent reloads, we have some initial state to show while we revalidate.
Docker recently launched (or is about to launch) support for Docker Desktop on Linux desktops. We should test the extension to ensure it works on the platforms supported by Docker Desktop.
/cc @DentonGentry
Do I understand correctly that this can only work with docker desktop "extensions" ? If so, is there any way to achieve similar functionality using other means on products such as podman ?
To make it easier to test changes with a control server, it'd be nice to have a control server picker like our desktop clients. Maybe in the dropdown menu by holding option or something.
Ubuntu22.04
Installing this extension seems to have installed Tailscale in Docker Desktop somehow.
But the version is outdated. How can one upgrade Tailscale inside Docker for Windows?
Let me start with the most obvious: I'm a complete n00b, even more so when it comes to Tailscale. And English is not my mother tongue. The following might be my misinterpretation of something. Please excuse my errors.
After upgrading the Docker Desktop.app from from 4.8.2,79419 to 4.9.0,80466 the Tailscale Docker-Extension claims Your host device is not running Tailscale
and No containers are running
.
Both is not really correct.
There seems to be no problem (except a "cosmetic" one?)
Docker Desktop.app > Dashboard should show the Tailscale extension in the left sidebar, unter the "Extensions beta" header.
Restarting the DD.app with the [macOS] menu bar Docker icon and choosing "Restart" will drop/hide the Tailscale extension in the Dashboard.
Restarting the DD.app by quitting and opening again, will show the Tailscale extension in the Dashboard again. O_-
The Tailscale extension container _ is _ running all the time, as can be seen in the DD.app > Dashboard > Containers > tailscale_docker-extension-desktop-extension, it's just the display in the Dashboard that is broken. Which somehow confirms my uneducated assumption that this is a cosmetic problem. It _ does _ say "beta" on the tin.
Quitting and Opening (as opposed to "Restart") the Docker Desktop.app and waiting some, will eventually show the running containers in the Tailscale extension overview.
The error No containers are running
is then gone. The error Your host device is not running Tailscale
is still shown.
Currently we deploy the image via manually managing tag versions and a script in the Makefile
. We should move this to run entirely in CI.
This Docker Desktop extension claims the host does not have tailscale installed, but I definitely have the Mac App Store version installed, authenticated, and operational.
THIS IS NOT AN ISSUE - just a feature request.
Please delete, if this is not the correct way to bring it up.
The version of the Docker extension always seems to lag behind the current version of the standalone program and the apps published in the app stores (or for qpkg, as far as I can tell).
This is not a problem in itself, but could become one if security-related fixes are included in the updated version. In addition, the tailscale console always indicates that an update is available - which is not correct.
It would be great if it could be realized to update the Docker extension along with everything else.
Thank you. :)
We have a button that allows users to open a container directly in their browser. We also have a warning that appears when their host device and Docker extension aren't on the same Tailscale network.
However, it's easy to start to ignore the big warning and treat it as a header. Perhaps we can display it less prominently in most cases, and instead prompt them in contextually relevant places. For example, when pressing "open in browser," maybe we can have a dialog that warns them that they won't be able to open the link before we pop them off to their browser?
Hello!
As in the title; would it be possible to enable Tailscale SSH when logging in, or modify the tailscale up
options?
Thank you kindly for the help!
Someone had a bumpy experience where they were running a container and trying to access it over Tailscale, but it wasn't showing up in the list. It seems like the container didn't have publicly exposed ports, but without us telling them that, it seems hard to debug.
Let's update the container view to include information about containers which are running but don't have exposed ports, and give steps to resolve that.
How do we know which Tailscale version is running? How do we know which extension version is running? How can users contact support for issues? All this would be useful to add.
Things to consider:
I notice that the Tailscale docker extension code has been updated to version 1.32.2. However, in my Tailscale admin console the node running the docker extension shows that it only uses Tailscale 1.30.2. I installed the extension via Docker Hub and the last version of the extension available is 0.0.14.
Is there something I need to do to update my docker extension to 1.32.2?
Thanks,
As of SDK v0.2.3, there are new Docker image labels we can use to customize our extension's display in the marketplace. This is a tracking issue to add support for these new labels: https://docker-desktop-extensions.netlify.app/extensions/labels/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.