@getmonoceros/workbench 1.6.10 → 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 +18 -13
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2703,26 +2703,31 @@ function formatRootlessNotSupportedError() {
|
|
|
2703
2703
|
``,
|
|
2704
2704
|
`You're running Docker in "rootless" mode right now. That setup`,
|
|
2705
2705
|
`runs the daemon without root privileges \u2014 sounds safer, but it`,
|
|
2706
|
-
`
|
|
2707
|
-
`
|
|
2708
|
-
`
|
|
2709
|
-
|
|
2710
|
-
`
|
|
2711
|
-
`entire workflow is built around.`,
|
|
2706
|
+
`remaps user IDs between your host and the container in a way`,
|
|
2707
|
+
`that prevents the container from writing into the directories`,
|
|
2708
|
+
`Monoceros mounts into it. Cloning your repos, running`,
|
|
2709
|
+
`\`npm install\`, building \u2014 all fail with permission errors at`,
|
|
2710
|
+
`the first attempt.`,
|
|
2712
2711
|
``,
|
|
2713
2712
|
`To fix, switch back to standard rootful Docker:`,
|
|
2714
2713
|
``,
|
|
2715
|
-
cyan2(
|
|
2714
|
+
cyan2(
|
|
2715
|
+
` systemctl --user stop docker.service docker.socket 2>/dev/null || true`
|
|
2716
|
+
),
|
|
2716
2717
|
cyan2(` dockerd-rootless-setuptool.sh uninstall`),
|
|
2717
|
-
cyan2(` rm -rf ~/.local/share/docker`),
|
|
2718
|
-
cyan2(` unset DOCKER_HOST`),
|
|
2718
|
+
cyan2(` rootlesskit rm -rf ~/.local/share/docker`),
|
|
2719
|
+
cyan2(` unset DOCKER_HOST DOCKER_CONTEXT`),
|
|
2719
2720
|
cyan2(` sudo systemctl enable --now docker`),
|
|
2720
2721
|
cyan2(` sudo usermod -aG docker $USER`),
|
|
2721
2722
|
``,
|
|
2722
|
-
`
|
|
2723
|
-
|
|
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.`,
|
|
2724
2728
|
``,
|
|
2725
|
-
`Background: see ${cyan2("docs/docker-on-linux.md")} in
|
|
2729
|
+
`Then re-run. Background: see ${cyan2("docs/docker-on-linux.md")} in`,
|
|
2730
|
+
`the workbench repo.`
|
|
2726
2731
|
].join("\n");
|
|
2727
2732
|
}
|
|
2728
2733
|
|
|
@@ -3005,7 +3010,7 @@ function warnOnDeprecatedFeatureRefs(containerFeatures, globalConfig, logger) {
|
|
|
3005
3010
|
}
|
|
3006
3011
|
|
|
3007
3012
|
// src/version.ts
|
|
3008
|
-
var CLI_VERSION = true ? "1.6.
|
|
3013
|
+
var CLI_VERSION = true ? "1.6.12" : "dev";
|
|
3009
3014
|
|
|
3010
3015
|
// src/commands/_dispatch.ts
|
|
3011
3016
|
import { consola as consola11 } from "consola";
|