Jump to content
jbear

Connecting to a container to make changes

3 posts in this topic Last Reply

Recommended Posts

What is the preferred method to connect to an existing container to make some changes, more specifically I want to add LAME to my LMS Docker container.  I believe there is a way to connect to a container via the docker command from the shell, has this been covered in a previous thread ? 

 

Thanks.

 

 

Share this post


Link to post

docker exec -it containername bash

 

You can do "docker ps" to get the name

 

But whatever changes you make will disappear if you update the container. Stop/Restart should be fine

Share this post


Link to post

Thank you, I was able to add LAME, appears to survive start/stop no problem.  I don't think it's a huge issue to re-install if the package is updated.  Maybe in the future LAME can be added to the initial build package.

 

Thanks again for your help.

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.