Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go Client: client.AttachConfig has ExecSession field but no way to get it #1301

Open
futurist opened this issue Apr 25, 2023 · 1 comment
Open
Labels

Comments

@futurist
Copy link

What happened?

Want to attach to an exec session like below:

err := c.AttachContainer(ctx, &client.AttachConfig{
			ID:         ID,
			SocketPath: sockPath,
			ExecSession: execSessionID,
})

Here the execSessionID currently cannot get anywhere.

What did you expect to happen?

some public API way to get the execSessionID

How can we reproduce it (as minimally and precisely as possible)?

as question

Anything else we need to know?

No response

conmon-rs version

$ conmonrs --version
# paste output here
version: 0.5.1
tag: none
commit: b90bcd665b5d5b48d925a4c7413e24de295333d3
build: 2023-04-24 06:48:10 +00:00
target: x86_64-unknown-linux-gnu
rustc 1.69.0 (84c898d65 2023-04-16)
cargo 1.69.0 (6e9a83356 2023-04-12)

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ uname -a
# paste output here
Linux n227-026-119 4.19.117.bsk.6-amd64 #4.19.117.bsk.6 SMP Debian 4.19.117.bsk.6 Mon Jan 4 07:25:51 UTC x86_64 GNU/Linux

Additional environment details (AWS, VirtualBox, physical, etc.)

physical
@saschagrunert
Copy link
Member

Hey @futurist, thank you for the question! You can leave the exec session empty for now since it's only a placeholder for a future feature we have in mind. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants