Linux |
||||||||||||
Docker - Application Install
When you install (pull) a linux into a docker, you may realize the installed Linux is missing with so many basic commands you use everyday. So you need to install all those command (utilities) manually as per your needs. In my case, I am installing most of the tools listed in this note whenever I install Linux in a docker. NOTE: The installation command in this note is mostly for Debian/Ubuntu, you may need to figure out another method of installation if you use other Linux distribution.
In order to install application software within a container, you need to get into the container first as shown below.
NOTE : this provides verious network related commands like ifconfig.
NOTE : After the installation of the ssh server, you may need to do some extra procedures to make it work for you more conviniently. For the extra procedure, refer to this(Root Login) and this (troubleshoot) and this (IPv4 and IPv6) note.
NOTE : In regular Linux distribution, we tend to use systemctl command for various operations of services, but I didn't manage to make systemctl in docker. So I wanted to use 'service' command which is not installed in docker linux.
NOTE : This installs 'lsmod' command
Reference :
|
||||||||||||