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
Following the Quick Start instructions, I attempted the command:
./tfb --mode verify --test gemini
Unfortunately, this action resulted in the deletion of all my Docker containers.
Further investigation revealed that the tfb command utilizes the techempower/tfb Docker container, which is configured with the -v /var/run/docker.sock:/var/run/docker.sock volume mount. This allows the container to interact with the host machine's Docker daemon. The specific command being executed is:
I also observed that the techempower/tfb container includes a toolset that contains a script ( tfb-shutdown.sh ) which includes a command that stops the docker daemon
Because the container shares the same Docker socket as the host, this script inadvertently deletes all local containers.
To prevent unexpected data loss, it would be beneficial to provide a warning to users before executing the ./tfb --mode verify --test gemini command, explicitly mentioning the potential impact of the Docker socket mounting.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Following the Quick Start instructions, I attempted the command:
Unfortunately, this action resulted in the deletion of all my Docker containers.
Further investigation revealed that the
tfb
command utilizes thetechempower/tfb
Docker container, which is configured with the-v /var/run/docker.sock:/var/run/docker.sock
volume mount. This allows the container to interact with the host machine's Docker daemon. The specific command being executed is:I also observed that the
techempower/tfb
container includes a toolset that contains a script (tfb-shutdown.sh
) which includes a command that stops the docker daemonFrameworkBenchmarks/toolset/continuous/tfb-shutdown.sh
Line 13 in 993b52b
Because the container shares the same Docker socket as the host, this script inadvertently deletes all local containers.
To prevent unexpected data loss, it would be beneficial to provide a warning to users before executing the
./tfb --mode verify --test gemini
command, explicitly mentioning the potential impact of the Docker socket mounting.Beta Was this translation helpful? Give feedback.
All reactions