We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a583a6 commit 1fffb3cCopy full SHA for 1fffb3c
1 file changed
userdocker/subcommands/attach.py
@@ -33,6 +33,9 @@ def exec_cmd_attach(args):
33
cmd += ['--detach-keys', args.detach_keys]
34
35
container = args.container
36
+ cmd += [container]
37
+
38
+ # check if we're allowed to attach to container (if it's ours)
39
container_env = exec_cmd(
40
[
41
args.executor_path, 'inspect',
0 commit comments