[PYTHON] Installing and building Docker (memo)

environment

Windows10 Pro 64bit

Build the following environment with Docker. Record as a memo

Build

Ubuntu(Linux) Anaconda

Set up Ubuntu and install Anaconda there. Launch Jupyter Lab. Install Docker for Windows. Install Docker Toolbox without installing WSL2. Docker Toolbox Installation When the installation is completed without any problem, open a terminal or command prompt and open it. Execute the command "docker run hello-world". If "Hello from Docker!" Is displayed, it is successful. Create a folder called "MyDocker" on your desktop Create a Dockerfile in that folder

Docker for Windows Download "Docker for Windows". Uncheck the Install WSL2 check box when installing. When installing, the following error is displayed.

qiita.dos


Error with pre-create check: "This computer is running Hyper-V. VirtualBox won't boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)"

Error that appears when Hyper-V is not enabled Enable Hyper-V from Windows "Control Panel"-> "Programs"-> "Turn Windows features on or off" Install WSL2. However, since WSL2 is not used, it is disabled. If you don't disable it, Docker Toolbox won't start either.

After the installation is complete, open a terminal or command prompt Execute the command "docker run hello-world". OK when "Hello from Docker!" Is displayed

Recommended Posts

Installing and building Docker (memo)
docker memo
A memorandum when installing Docker and building a Linux container
docker tutorial (memo)
Docker operation memo
Building Rails 6 and PostgreSQL environment with Docker
CI/CD pipeline and Docker
Docker terms and commands
Docker x Rails 6 (memo)
docker inspect --format memo
Docker Machine command memo
Docker settings and this and that
Overview of Docker and containers
Docker Compose basics and commands
Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)
MySQL 5.7 (Docker) environment construction memo
Redmine (Docker) environment construction memo
Ansible: Allow downgrade when installing Docker
Hello World with Docker and C
Flowing interface trial and error memo
Docker execution memo summarized for myself
Microservices With Docker and Cloud Performance
Challenge to install WSL2 and docker
Starting with installing Docker on EC2 and running Yellowfin in a container
Installing Docker Desktop on Windows 10 Home was easy and easy (as of December 2020)