You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
I found a small issue when running for second time a container that had used a sshvolume. The first time I do this:
docker run -d
--name sshfs-container
--volume-driver vieux/sshfs
--mount src=sshvolume,target=/app,volume-opt=sshcmd=test@node2:/home/test,volume-opt=password=testpassword
nginx:latest
it creates the volume, and runs the container. But if I run that same command for second time, the volume already exists, so it just runs the container. Maybe this is not a big deal, but if I change the password, it still uses the volume, because the volume is already created and has all the info needed, including the password.
Maybe is not big deal, but I think it could be a security problem in some cases.
The text was updated successfully, but these errors were encountered:
I found a small issue when running for second time a container that had used a sshvolume. The first time I do this:
docker run -d
--name sshfs-container
--volume-driver vieux/sshfs
--mount src=sshvolume,target=/app,volume-opt=sshcmd=test@node2:/home/test,volume-opt=password=testpassword
nginx:latest
it creates the volume, and runs the container. But if I run that same command for second time, the volume already exists, so it just runs the container. Maybe this is not a big deal, but if I change the password, it still uses the volume, because the volume is already created and has all the info needed, including the password.
Maybe is not big deal, but I think it could be a security problem in some cases.
The text was updated successfully, but these errors were encountered: