Skip to content

jacceko/MC-Midnight-Commander-in-EVERY-DOCKER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Midnight-Commander-in-EVERY-DOCKER-Container

Script in bash for Auto exec/install Midnight Commander in your apps dockers containers - it work in Every containers based on debian/alpine/centos/ubi/ubuntu)

If you ever want to copy files inside working container or to/from container to host in easy way, you may want to have mc in every container.

USAGE it execute mc inside your container, if no mc in container, then auto install it and then execute.

Before first use:  chmod u+x mcd.sh

Normal usage:      ./mcd.sh YOUR_CONTAINER_NAME

Example:           ./mcd.sh nginx

If all work ok - you will see mc blue screen and on bottom you see root@docker-xxxxx some number - this mean your mc are in docker

To copy files from to outside docker in docker you can add volume name for ex. "/exchange" - mapped to your host system local folder to use it for exchange with all your docker containers

About

Script for Auto exec/install Midnight Commander in your apps dockers containers - Every containers based on debian/alpine/centos/ubi/ubuntu)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages