Skip to content

Instantly share code, notes, and snippets.

View knutster's full-sized avatar

Conrad Christensen knutster

  • Optimeering Aqua
  • Stockholm
View GitHub Profile
@knutster
knutster / connect.md
Created April 24, 2024 19:29
Connect a shell to a docker container via websocket hosted in Docker Swarm via Portainer

Connect a shell to a docker container via websocket hosted in Docker Swarm via Portainer

Dependencies

  • jq
  • curl
  • websocat

Define the following environment variables:

Keybase proof

I hereby claim:

  • I am knutster on github.
  • I am knutster (https://keybase.io/knutster) on keybase.
  • I have a public key whose fingerprint is A029 8785 FB88 0284 7561 70A2 8B00 5E5A 922C EE29

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am knutster on github.
  • I am knutster (https://keybase.io/knutster) on keybase.
  • I have a public key ASDwy6rYpCv9-JFrdlg8HGbRh7Xy8N2gbQeAn8q-KmoMzwo

To claim this, I am signing this object: