This repository was archived by the owner on Oct 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +4
-4
lines changed Expand file tree Collapse file tree 6 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ sudo docker volume rm sshvolume
6262sudo docker plugin disable vieux/sshfs:$TAG
6363sudo docker plugin set vieux/sshfs:$TAG sshkey.source=` pwd` /.travis/ssh/
6464sudo docker plugin enable vieux/sshfs:$TAG
65- sudo docker volume create -d vieux/sshfs:$TAG -o sshcmd=root@localhost:/ -o port=2222 -o IdentityFile=/.ssh/key sshvolume
65+ sudo docker volume create -d vieux/sshfs:$TAG -o sshcmd=root@localhost:/ -o port=2222 sshvolume
6666sudo docker run --rm -v sshvolume:/write busybox sh -c " echo hello > /write/world"
6767sudo docker run --rm -v sshvolume:/read busybox grep -Fxq hello /read/world
6868# sudo cat /var/lib/docker/plugins/sshfs-state.json
Original file line number Diff line number Diff line change 11FROM rastasheep/ubuntu-sshd
2- COPY key .pub /root/.ssh/authorized_keys
2+ COPY id_rsa .pub /root/.ssh/authorized_keys
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ CMD ["/go/bin/docker-volume-sshfs"]
1010
1111FROM alpine
1212RUN apk update && apk add sshfs
13- RUN mkdir -p /run/docker/plugins /mnt/state /mnt/volumes .ssh
13+ RUN mkdir -p /run/docker/plugins /mnt/state /mnt/volumes
1414COPY --from=builder /go/bin/docker-volume-sshfs .
1515CMD ["docker-volume-sshfs" ]
Original file line number Diff line number Diff line change 4343 "type" : " bind"
4444 },
4545 {
46- "destination" : " /.ssh" ,
46+ "destination" : " /root/ .ssh" ,
4747 "options" : [
4848 " rbind"
4949 ],
You can’t perform that action at this time.
0 commit comments