Distribution: Core linux Shell: bash The distribution was a minimal one called Corenax. core linux
The shell was the famous bash.
When I started it with docker-machine, something like linux It's working, but what's the distribution? I got the question, so I checked it.
It is assumed that docker and docker-machine will work below.
Verification.sh
#Create a virtual machine named verification
$ docker-machine create verification
#Enter verification with ssh
$ docker-machine ssh verification
#From here, command execution within verification
#Command execution to check distribution
$ cat /etc/issue
Core Linux
#Check the shell
$ echo $SHELL
/bin/bash
Distribution (to be exact, linux series) Since the command differs depending on the shell, I wrote it as a memorandum for myself.
Recommended Posts