{"id":26825184,"url":"https://github.com/chancehudson/docker-libstorj","last_synced_at":"2025-08-23T10:11:20.374Z","repository":{"id":77470377,"uuid":"119742393","full_name":"chancehudson/docker-libstorj","owner":"chancehudson","description":"A prebuilt docker image including the compiled libstorj executable","archived":false,"fork":false,"pushed_at":"2018-02-03T05:56:17.000Z","size":47,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T14:05:58.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chancehudson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-31T20:56:40.000Z","updated_at":"2021-11-06T16:47:11.000Z","dependencies_parsed_at":"2023-04-23T08:47:27.286Z","dependency_job_id":null,"html_url":"https://github.com/chancehudson/docker-libstorj","commit_stats":null,"previous_names":["chancehudson/docker-libstorj"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chancehudson/docker-libstorj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Fdocker-libstorj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Fdocker-libstorj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Fdocker-libstorj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Fdocker-libstorj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chancehudson","download_url":"https://codeload.github.com/chancehudson/docker-libstorj/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Fdocker-libstorj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746551,"owners_count":24813570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-30T10:19:26.368Z","updated_at":"2025-08-23T10:11:20.331Z","avatar_url":"https://github.com/chancehudson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-libstorj\n\n[![CircleCI branch](https://img.shields.io/circleci/project/github/JChanceHud/docker-libstorj/master.svg)](https://circleci.com/gh/JChanceHud/docker-libstorj)\n[![Storj.io](https://storj.io/img/storj-badge.svg)](https://storj.io)\n\n[jchancehud/libstorj](https://hub.docker.com/r/jchancehud/libstorj/) is a docker image with the [libstorj](https://github.com/Storj/libstorj) executable built, tested and installed.\n\n## Available tags\n\n- [jchancehud/libstorj:latest](https://github.com/JChanceHud/docker-libstorj/blob/master/ubuntu/Dockerfile) - libstorj on ubuntu\n- [jchancehud/libstorj:ubuntu](https://github.com/JChanceHud/docker-libstorj/blob/master/ubuntu/Dockerfile) - 202 MB\n- [jchancehud/libstorj:ubuntu-1.0.0](https://github.com/JChanceHud/docker-libstorj/blob/1.0.0/ubuntu/Dockerfile) - 201 MB\n- [jchancehud/libstorj:alpine](https://github.com/JChanceHud/docker-libstorj/blob/master/alpine/Dockerfile) - libstorj on alpine - currently unstable, some commands do not work - 89 MB\n- [jchancehud/libstorj:alpine-1.0.0](https://github.com/JChanceHud/docker-libstorj/blob/1.0.0/alpine/Dockerfile) - libstorj 1.0.0 on alpine - 90 MB\n\n## Command line use\n\nThis docker image can be used to play with the storj executable without installing onto your local machine.\n\n```\ndocker run --rm jchancehud/libstorj storj --help\n```\n\n### Interactive shell\n\nTo enter an interactive shell invoke `ash` (the default alpine shell) as the command with the `-it` flags. The `--rm` flag destroys the container after exit.\n\n```\ndocker run -it --rm jchancehud/libstorj ash\n/ #\n```\n\nNow you have a shell into a virtual machine with the `storj` executable in the path.\n\n```\n/ # storj --help\nusage: storj [\u003coptions\u003e] \u003ccommand\u003e [\u003cargs\u003e]\n\nThese are common Storj commands for various situations:\n\nsetting up users profiles\n  register                  setup a new storj bridge user\n  import-keys               import existing user\n  export-keys               export bridge user, password and encryption keys\n\nworking with buckets and files\n  list-buckets\n  list-files \u003cbucket-id\u003e\n  remove-file \u003cbucket-id\u003e \u003cfile-id\u003e\n  add-bucket \u003cname\u003e\n  remove-bucket \u003cbucket-id\u003e\n  list-mirrors \u003cbucket-id\u003e \u003cfile-id\u003e\n\ndownloading and uploading files\n  upload-file \u003cbucket-id\u003e \u003cpath\u003e\n  download-file \u003cbucket-id\u003e \u003cfile-id\u003e \u003cpath\u003e\nbridge api information\n  get-info\n\noptions:\n  -h, --help                output usage information\n  -v, --version             output the version number\n  -u, --url \u003curl\u003e           set the base url for the api\n  -p, --proxy \u003curl\u003e         set the socks proxy (e.g. \u003c[protocol://][user:password@]proxyhost[:port]\u003e)\n  -l, --log \u003clevel\u003e         set the log level (default 0)\n  -d, --debug               set the debug log level\n\nenvironment variables:\n  STORJ_KEYPASS             imported user settings passphrase\n  STORJ_BRIDGE              the bridge host (e.g. https://api.storj.io)\n  STORJ_BRIDGE_USER         bridge username\n  STORJ_BRIDGE_PASS         bridge password\n  STORJ_ENCRYPTION_KEY      file encryption key\n```\n\n## Swarm Use\n\nThis image can be used inside docker swarms to provide a persistent storage that can be authenticated by secure variables provided at runtime as [secrets](https://docs.docker.com/engine/swarm/secrets/) at `/run/secrets/`.\n\nConfigurations for various services (mongo, redis, custom servers) can be stored securely in storj and accessed at runtime via authentication stored in the network in a custom entrypoint script.\n\nExample `entrypoint.sh` that securely retrieves an environment file for a nodejs server.\n\n`DOTENV_BUCKET_ID` and `DOTENV_FILE_ID` are supplied as environment variables to download the file from storj. These parameters are less sensitive as they don't contain authentication information.\n\n```\n#! /bin/sh\n\n# Secrets are configured at the swarm level and are provided via files at /run/secrets\n# See the docker secrets documentation for more information\n# https://docs.docker.com/engine/swarm/secrets/\nSECRETS=/run/secrets/\n\n# Load libstorj env config options if they are present\n[ -f $SECRETS/STORJ_KEYPASS ] \u0026\u0026 STORJ_KEYPASS=$(cat $SECRETS/STORJ_KEYPASS)\n[ -f $SECRETS/STORJ_BRIDGE ] \u0026\u0026 STORJ_BRIDGE=$(cat $SECRETS/STORJ_BRIDGE) # This defaults to https://api.storj.io\n[ -f $SECRETS/STORJ_BRIDGE_USER ] \u0026\u0026 STORJ_BRIDGE_USER=$(cat $SECRETS/STORJ_BRIDGE_USER)\n[ -f $SECRETS/STORJ_BRIDGE_PASS ] \u0026\u0026 STORJ_BRIDGE_PASS=$(cat $SECRETS/STORJ_BRIDGE_PASS)\n[ -f $SECRETS/STORJ_ENCRYPTION_KEY ] \u0026\u0026 STORJ_ENCRYPTION_KEY=$(cat $SECRETS/STORJ_ENCRYPTION_KEY)\n\n# Assuming this is a node server that is retrieving a .env file with authentication info\nstorj download-file $DOTENV_BUCKET_ID $DOTENV_FILE_ID ./.env\n\nexec npm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchancehudson%2Fdocker-libstorj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchancehudson%2Fdocker-libstorj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchancehudson%2Fdocker-libstorj/lists"}