简体   繁体   中英

How to install tmux inside a dev container established through the "dev environment" option on docker for a local repository?

I've cloned a github repo and ran into roadblocks trying to set it up locally so used Docker's dev environment option on it. The repo needs tmux as part of the build process and I can't install it inside the Docker environment cause it's linked to the repo and there's no mention of it there

Tried brew install and then realised I'm inside a container...

You can just install it. I started docker a few hours back so I was confused. Since its a Linux based image just run sudo apt-get update , then apt-get -y install curl and sudo apt-get install tmux in the docker cli

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM