Skywire requires a Golang version of 1.13 or higher.
# Clone.
$ git clone https://github.com/skycoin/skywire.git
$ cd skywire
# Build and Install
$ make build; make install
# OR build docker image
$ ./ci_scripts/docker-push.sh -t $(git rev-parse --abbrev HEAD) -b
Skywire can be statically built. For instructions check the docs.
In order to expose the hypervisor UI, generate a config file with --is-hypervisor flag:
$ skywire-cli visor gen-config --is-hypervisor
Docker container will create config automatically for you, should you want to run it manually, you can do:
$ docker run --rm -v <YOUR_CONFIG_DIR>:/opt/skywire \
skycoin/skywire:latest skywire-cli gen-config --is-hypervisor
After starting up the visor, the UI will be exposed by default on localhost:8000.
Every visor can be controlled by one or more hypervisors. To allow a hypervisor to access a visor, the PubKey of the hypervisor needs to be specified in the configuration file. You can add a remote hypervisor to the config with:
$ skywire-cli visor update-config --hypervisor-pks <public-key>
Or from docker image:
$ docker run --rm -v <YOUR_CONFIG_DIR>:/opt/skywire \
skycoin/skywire:latest skywire-cli update-config hypervisor-pks <public-key>
skywire-visorskywire-visor hosts apps and is an applications gateway to the Skywire network.
skywire-visor requires a valid configuration to be provided. If you want to run a VPN client locally, run the visor
as sudo.
$ sudo skywire-visor -c skywire-config.json
Or from docker image:
docker run --rm -p 8000:8000 -v <YOUR_CONFIG_DIR>:/opt/skywire --name=skywire skycoin/skywire:latest skywire-visor
skywire-visor can be run on Windows. The setup requires additional setup steps that are specified
in the docs.
Content type
Image
Digest
sha256:fa1e899f7…
Size
196.3 MB
Last updated
about 13 hours ago
docker pull skycoin/skywire:811af7636