環境
Windows 10 Pro 1709(16299.192)
Docker version 17.12.0-ce, build c97c6d6
CentOS Linux release 7.4.1708 (Core)
前提
・「Docker for Windows」のインストール済み
・「CentOS7」の「Dockerイメージ」をダウンロード済み または 作成済み
Refer to Window10にCentOS7のdockerコンテナを作ってみた
・Docker Container 起動済み
参考 Containerを作成し起動
PowerShellで実行PS C:\Users\UserName> docker run -i -t centos /bin/bash
Refer to Docker run リファレンス
参考 (作成済みの)Containerを起動
PowerShellで実行PS C:\Users\UserName> docker start <コンテナID> -a
Refer to [Docker リファレンス start] (http://docs.docker.jp/engine/reference/commandline/start.html)
yumグループを確認する
CentOSで実行
[root@3c3c80fea430 /]# yum grouplist
Loaded plugins: fastestmirror, ovl
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 156 kB 00:00:00
(2/4): updates/7/x86_64/primary_db | 6.0 MB 00:00:00
(3/4): extras/7/x86_64/primary_db | 166 kB 00:00:00
(4/4): base/7/x86_64/primary_db | 5.7 MB 00:00:09
Determining fastest mirrors
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
GNOME Desktop
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
[root@3c3c80fea430 /]#