-
Maintained by:
Skynet Labs -
Skyd source code and releases:
SkynetLabs/skyd -
Skyd license information:
Skynet License 1.0 -
Where to get help:
Skynet Labs Discord or Skynet Labs Twitter -
Where to file issues:
https://github.com/skynetlabs/docker-skyd/issues
All images are published to dockerhub skynetlabs/skyd repository.
Skynet is a decentralized storage and app hosting platform that makes it easy to join the decentralized internet movement, as a user or a web3 developer.
Skynet apps transform what’s possible on the web. Beyond protecting privacy, decentralization enables application, integration, and innovation that simply cannot be replicated by the centralized world. Now, we can break free of the walled gardens and data silos that have constricted invention and interoperability. Key features of decentralization such as user-owned personal data, persistent identity across apps, and censorship-resistance will be the new standards of the digital world.
See How To Use This Image on GitHub for up-to-date documentation.
This image declares ENTRYPOINT [ "skyd" ]
and does not override any default command line arguments. You are expected to set those yourself as a part of the command.
When running skyd image as a part of the skynet webportal stack, you need to change enabled modules and make the api accessible.
services:
skyd:
image: skynetlabs/skyd
command: --disable-api-security --api-addr :9980 --modules gtcwra
All skyd environment variables are supported.
SIA_DATA_DIR
defaults to/sia-data
SIAD_DATA_DIR
defaults to/sia-data
It is recommended to store your wallet password in SIA_WALLET_PASSWORD
env variable but make sure you do not commit it to your repository risking exposing it to public. If this env variable is not set then skyd will require you to unlock the wallet each time it gets restarted.
Initially your wallet password is your seed phrase but you can change it using built in cli command skyc wallet change-password
.
Skyd produces multiple log files that are persisted to disk in append mode. These log files can grow significantly and it is recommended to rotate them based on size of the files.
Easiest way to set up log rotation is to either configure logrotate on host machine or use blacklabelops/logrotate image.
Example logrotate configuration (change /sia-data
to the directory that mounts it):
"/sia-data/*.log" "/sia-data/*/*.log" "/sia-data/*/*/*.log" {
size 100M
rotate 10
compress
dateext
copytruncate
}
Every docker-skyd image comes with executable cli client skyc
that provides information on running skyd
instance and allows some basic interactions.
Check documentation for available commands.
The skyd
images come in two flavors, each designed for a specific use case.
This image is based on the Scratch container designed for publishing super minimal images. It contains only our binaries and whatever they currently require to run properly.
Scratch is the most secure and lightweight image base and we strongly recommend you use this flavor as your defaut image unless you have specific requirements that it cannot satisfy.
Scratch does not include any executable shell or dependency management tool like apt or apk so if you are loooking for an image that allows you to execute commands from within of the container or easily install packages, you should try a different flavor.
This image is based on the latest Debian bullseye-slim image.
Slim is just a lighter version of Debian achieved through removing some extra files that are normally not necessary within containers, such as man pages and documentation.
View license information for Skyd or license information for the Skyd Docker project.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.