new: settings of containerTrySudo usePodman

This commit is contained in:
lollipopkit
2024-02-18 16:54:13 +08:00
parent 61ddb56639
commit b802c97a8d
23 changed files with 224 additions and 103 deletions

View File

@@ -224,6 +224,12 @@ class SettingStore extends PersistentStore {
].map((e) => e.index).toList(),
);
/// Docker is more popular than podman, set to `false` to use docker
late final usePodman = property('usePodman', false);
/// Try to use `sudo` to run docker command
late final containerTrySudo = property('containerTrySudo', true);
// Never show these settings for users
//
// ------BEGIN------