cancel
Showing results for 
Search instead for 
Did you mean: 
Ksahil
Flight Engineer
Flight Engineer
  • 1,121 Views

Docker container

Jump to solution

Unable to do auto command completion after login into the docker container.

1. Is there any package to use?

2. any setting which needs to be enabled.

Regards, Saahil

Labels (1)
1 Solution

Accepted Solutions
tnishiok
Flight Engineer
Flight Engineer
  • 1,086 Views

It depends on your base container image, shell type and the exact commands you want to have auto completion for. But suppose you want to have basic bash auto completion on the ubi image, you should install at least the 'bash-completion' package.

View solution in original post

4 Replies
tnishiok
Flight Engineer
Flight Engineer
  • 1,087 Views

It depends on your base container image, shell type and the exact commands you want to have auto completion for. But suppose you want to have basic bash auto completion on the ubi image, you should install at least the 'bash-completion' package.

Ksahil
Flight Engineer
Flight Engineer
  • 1,082 Views

Thank you, for your valuable reply !!

Regards, Saahil

0 Kudos
Ksahil
Flight Engineer
Flight Engineer
  • 1,059 Views

Can we able to install the bash-completion' package on exam teminal.

0 Kudos
Tess
Flight Engineer
Flight Engineer
  • 1,007 Views

I don't see why not. The thing is, anything you install in a container will be gone after it's restarted. Installing extra CLI tools inside a container makes little sense, unless you make it a part of the container image definition (which is contrary to the best practices of building containers).

Installing bash-autocompletion in the exam workstation terminal, will not change anything at all about what's available inside the container environment. 

Join the discussion
You must log in to join this conversation.