You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`src/mounts.ts` — Volume mount management. Core mounts (configs, gitconfig) and optional SSH mounting. Exports: `ensureMountsFile`, `loadMounts`, `getCoreMounts`
74
-
-`src/flags.ts` — Custom Docker flags loader from `DOCKER_FLAGS.txt`. Uses shell-quote for safe parsing. Exports: `loadFlags`
74
+
-`src/flags.ts` — Custom Docker flags loaders from `DOCKER_FLAGS.txt` and `DOCKER_RUN_FLAGS.txt`. Uses shell-quote for safe parsing. `DOCKER_FLAGS.txt` is loaded for both `docker run` and `docker exec`. `DOCKER_RUN_FLAGS.txt` is loaded only for `docker run`. Exports: `loadFlags`, `loadRunFlags`
75
75
-`src/utils.ts` — Colored console output and user prompts. Exports: `printInfo`, `printSuccess`, `printWarning`, `printError`, `promptYesNo`, `resolveProjectPath`
@@ -23,5 +24,9 @@ if (!fs.existsSync(DOCKERFILE_PATH)) {
23
24
}
24
25
25
26
if(!fs.existsSync(FLAGS_PATH)){
26
-
fs.writeFileSync(FLAGS_PATH,"# Add custom Docker flags here (one per line)\n# Note: These flags are passed to every created container.\n");
27
+
fs.writeFileSync(FLAGS_PATH,"# Add custom Docker flags here (one per line)\n# Note: These flags are passed to every created container and every exec session.\n# Use DOCKER_RUN_FLAGS.txt for flags that only apply to 'docker run'.\n");
28
+
}
29
+
30
+
if(!fs.existsSync(RUN_FLAGS_PATH)){
31
+
fs.writeFileSync(RUN_FLAGS_PATH,"# Add Docker run-only flags here (one per line)\n# Note: These flags are only passed to 'docker run', not 'docker exec'.\n# Use this for flags like -v, --network, --restart that are not valid for exec.\n");
0 commit comments