Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
/ magic-wormhole-docker Public archive

Wrap magic wormhole in a thin docker container

License

Notifications You must be signed in to change notification settings

floj/magic-wormhole-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is now obsolete, just use https://github.com/psanford/wormhole-william

magic-wormhole-docker

License: MIT

Wraps magic wormhole in a thin docker container

🚀 Usage

Invoke either by calling the wormhole shell script from this repo like

./wormhole receive 1-file-send

or add an alias to your .bashrc/.zshrc like

alias wormhole='docker run --rm -ti --add-host "$(hostname):127.0.0.1" --network=host -v "$(pwd):/app" -e "SU_UID=$(id -u)" -e "SU_GID=$(id -g)" floj/magic-wormhole wormhole'

💥 Caveats

  • send can only send files from the current directory and relative subdirs of the current directory (due to volume mapping into docker container).
  • receive can only write files to the current directory and relative subdirs of the current directory (due to volume mapping into docker container).

About

Wrap magic wormhole in a thin docker container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published