add dockerd-rootless-setuptool#40924
Conversation
|
@tonistiigi @tiborvass @tianon @thaJeztah @cpuguy83 PTAL |
75729fe to
a5aafa1
Compare
c2f144f to
b85de3b
Compare
|
I feel like I'm missing something obvious here, sorry. 😕 Which part of the shell script solution is complicated enough that a port to Go is simpler? I'm not at all a fan of Edit: I've read through both of #40707 and #40761, but reading through this code it still feels like a really long shell script written in Go, so I'm still really confused. 😞 |
|
Motivations to use Go are:
Alternatively I could use Python, but didn't want to introduce Python dependency. |
b85de3b to
55fd18b
Compare
The tool is expected to be used by https://get.docker.com/rootless script. Can be included in RPM/DPKG packages as well. Example usage: `dockerd-rootless-setuptool setup` Signed-off-by: Akihiro Suda <[email protected]>
55fd18b to
6a4bdad
Compare
|
I tend to agree with @tianon here. I feel like this sacrifices too much on the trust/audit-ability front. |
|
rewrote in shell: #40950 |
- What I did
Added
contrib/dockerd-rootless-setuptool.The tool is expected to be used by https://get.docker.com/rootless script.
Can be included in RPM/DPKG packages as well.
Fix #40707
Relates to #40761
- How I did it
Rewrote https://get.docker.com/rootless in Go except the curl stuff.
The curl stuff is expected to be kept in https://get.docker.com/rootless .
Also, the storage driver is not detected in the new tool because the daemon should be able to choose overlay2/fuse-overlayfs/vfs automatically.
- How to verify it
- Description for the changelog
add dockerd-rootless-setuptool
- A picture of a cute animal (not mandatory but encouraged)
🐧