Sign inSign up

aooj/slow-storage

By aooj

•Updated almost 11 years ago

Image
0

1.2K

aooj/slow-storage repository overview

⁠Docker slow remote storage

  • mount remote dir via ssh
  • usefully for centralized configuration or backups
  • see Makefile

⁠Example usage

FROM aooj/slow-storage
  
ENV REMOTE_HOST [email protected]
ENV REMOTE_DIR /tmp/storage
ENV LOCAL_DIR /data

build it and run it!

docker build -t slow-storage .
docker run --cap-add mknod --cap-add sys_admin --device=/dev/fuse -v ${HOME}.ssh/id_rsa:/root/.ssh/id_rsa:ro -v ${HOME}.ssh/known_hosts:/root/.ssh/known_hosts:ro --rm -ti slow-storage

Tag summary

Content type

Image

Digest

sha256:ff8ab5851…

Size

136.2 MB

Last updated

almost 11 years ago

docker pull aooj/slow-storage