@getmonoceros/workbench 1.6.11 → 1.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js CHANGED
@@ -2711,17 +2711,23 @@ function formatRootlessNotSupportedError() {
2711
2711
  ``,
2712
2712
  `To fix, switch back to standard rootful Docker:`,
2713
2713
  ``,
2714
- cyan2(` systemctl --user disable --now docker.service docker.socket`),
2714
+ cyan2(
2715
+ ` systemctl --user stop docker.service docker.socket 2>/dev/null || true`
2716
+ ),
2715
2717
  cyan2(` dockerd-rootless-setuptool.sh uninstall`),
2716
- cyan2(` rm -rf ~/.local/share/docker`),
2717
- cyan2(` unset DOCKER_HOST`),
2718
+ cyan2(` rootlesskit rm -rf ~/.local/share/docker`),
2719
+ cyan2(` unset DOCKER_HOST DOCKER_CONTEXT`),
2718
2720
  cyan2(` sudo systemctl enable --now docker`),
2719
2721
  cyan2(` sudo usermod -aG docker $USER`),
2720
2722
  ``,
2721
- `Verify with ${cyan2("docker info | grep -i rootless")} \u2014 it should`,
2722
- `produce no output. Then re-run.`,
2723
+ `If you added DOCKER_HOST or DOCKER_CONTEXT to ~/.bashrc /`,
2724
+ `~/.profile (the rootless setup may have suggested it), remove`,
2725
+ `those lines too \u2014 the 'unset' above only affects your current`,
2726
+ `shell. Otherwise new terminals keep pointing at the rootless`,
2727
+ `socket and Monoceros's auto-recovery has nothing to fall back to.`,
2723
2728
  ``,
2724
- `Background: see ${cyan2("docs/docker-on-linux.md")} in the workbench repo.`
2729
+ `Then re-run. Background: see ${cyan2("docs/docker-on-linux.md")} in`,
2730
+ `the workbench repo.`
2725
2731
  ].join("\n");
2726
2732
  }
2727
2733
 
@@ -3004,7 +3010,7 @@ function warnOnDeprecatedFeatureRefs(containerFeatures, globalConfig, logger) {
3004
3010
  }
3005
3011
 
3006
3012
  // src/version.ts
3007
- var CLI_VERSION = true ? "1.6.11" : "dev";
3013
+ var CLI_VERSION = true ? "1.6.12" : "dev";
3008
3014
 
3009
3015
  // src/commands/_dispatch.ts
3010
3016
  import { consola as consola11 } from "consola";