replicas-cli 0.2.191 → 0.2.192

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -8
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -8339,22 +8339,19 @@ Docker is pre-installed in Replicas workspaces, but the daemon does **not** auto
8339
8339
 
8340
8340
  \`\`\`bash
8341
8341
  sudo service docker start
8342
+ until docker info >/dev/null 2>&1; do sleep 0.2; done
8342
8343
  \`\`\`
8343
8344
 
8344
- After starting, verify the daemon is running:
8345
-
8346
- \`\`\`bash
8347
- docker info
8348
- \`\`\`
8345
+ \`service docker start\` returns before the socket is accepting connections, so immediate commands may fail without the poll.
8349
8346
 
8350
8347
  ## Important Notes
8351
8348
 
8352
8349
  - **Start once per session.** The daemon stays running until the workspace shuts down. You do not need to restart it between commands.
8353
8350
  - **Check before starting.** If you are unsure whether the daemon is already running, check first to avoid an unnecessary restart:
8354
8351
  \`\`\`bash
8355
- docker info > /dev/null 2>&1 || sudo service docker start
8352
+ docker info >/dev/null 2>&1 || { sudo service docker start && until docker info >/dev/null 2>&1; do sleep 0.2; done; }
8356
8353
  \`\`\`
8357
- - **Sudo is required** for starting the daemon, but regular \`docker\` commands run without sudo (the user is in the \`docker\` group).
8354
+ - **Sudo is only required for starting the daemon.** The workspace user is in the \`docker\` group, so regular \`docker\` commands work without sudo.
8358
8355
  `;
8359
8356
  var DOCKER_ABILITY = {
8360
8357
  label: "Docker",
@@ -16601,7 +16598,7 @@ Deleted file ${pathOrId}.
16601
16598
  }
16602
16599
 
16603
16600
  // src/index.ts
16604
- var CLI_VERSION = "0.2.191";
16601
+ var CLI_VERSION = "0.2.192";
16605
16602
  function parseBooleanOption(value) {
16606
16603
  if (value === "true") return true;
16607
16604
  if (value === "false") return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.191",
3
+ "version": "0.2.192",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {