1. Why did you choose to build a docker c language compiler environment
I used to use vim and gcc c language code, and is not supported by gcc c c ++ language but, with certain content c and c ++ language slightly differently.
How to install 2.windows under docker and changing domestic source of reference for this tutorial: https://www.runoob.com/docker/windows-docker-install.html
3. Use docker build centos environment, and install the software environment used c language compiler
Pulling centos mirror
docker pull centos
Boot image
docker run -t -i centos /bin/bash
Update System
yum update
Installing the software needed to compile
yum install vim gcc
Use another window to create a mirror copy
First view mirror CONTAINER ID
docker ps
Create a mirror copy
docker commit CONTAINER ID copy name
4. How to docker, and download files from a docker windows to transfer files from windows
Docker cp Windows file directory ImagesRF Royalty Free the above mentioned id : CentOS directory
Docker cp ImagesRF Royalty Free the above mentioned id : CentOS directory windows directory