Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

apt-get command not included #488

Open
ravola opened this issue Feb 13, 2020 · 6 comments
Open

apt-get command not included #488

ravola opened this issue Feb 13, 2020 · 6 comments

Comments

@ravola
Copy link

ravola commented Feb 13, 2020

dpkg, apt-get commands not included in the ubuntu shell on PWD.
Is there a way to make it available?

@andrzejsydor
Copy link

@ravola can you please add more details.
Why do you need the apt-get command?
It's prepared virtual machines for just playing with Docker.
In my opinion, you shouldn't expect more.

@ravola
Copy link
Author

ravola commented Jan 4, 2021

@andrzejsydor
What i meant was, if i am inside the container (docker exec) i should be able to run apt-get in the container for Ubuntu image.

@andrzejsydor
Copy link

@ravola I just checked by simple commands and it works:

docker run -it ubuntu sh
apt-get update

@ravola
Copy link
Author

ravola commented Jan 6, 2021

@andrzejsydor apt-get work when i add a docker compose but doesn't work when i docker exec. Maybe a configuration issue on my end.

@andrzejsydor
Copy link

@ravola probably. Can you attach the source code for detailed investigation or just the issue should be closed?

@ravola
Copy link
Author

ravola commented Jan 20, 2021

@andrzejsydor sorry for the late reply. I will share my compose file.

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

No branches or pull requests

2 participants