File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -1271,16 +1271,6 @@ const sharedCommands: Record<string, Fig.Subcommand> = {
1271
1271
args : {
1272
1272
isVariadic : true ,
1273
1273
name : "containers" ,
1274
- suggestions : [
1275
- {
1276
- name : "$(docker ps -aq)" ,
1277
- description : "All containers, running and exited" ,
1278
- } ,
1279
- {
1280
- name : "$(docker ps -q)" ,
1281
- description : "All running containers" ,
1282
- } ,
1283
- ] ,
1284
1274
generators : dockerGenerators . allDockerContainers ,
1285
1275
} ,
1286
1276
options : [
@@ -1303,14 +1293,17 @@ const sharedCommands: Record<string, Fig.Subcommand> = {
1303
1293
name : "run" ,
1304
1294
description : "Run a command in a new container" ,
1305
1295
options : [
1296
+ {
1297
+ name : [ "-d" , "--detach" ] ,
1298
+ description : "Run container in background and print container ID" ,
1299
+ } ,
1306
1300
{
1307
1301
name : [ "-i" , "--interactive" ] ,
1308
1302
description : "Keep STDIN open even if not attached" ,
1309
1303
} ,
1310
1304
{ name : [ "-t" , "--tty" ] , description : "Allocate a pseudo-TTY" } ,
1311
1305
{
1312
1306
name : "-it" ,
1313
-
1314
1307
description : "Launch an interactive session" ,
1315
1308
icon : "fig://icon?type=commandkey" ,
1316
1309
} ,
You can’t perform that action at this time.
0 commit comments