Until you build the docker environment and start / stop the Ubuntu container

It is troublesome to build the environment, and it is troublesome to drop or install the ISO for the virtual environment. Since it's called vagrant, it seems that you can easily create a virtual environment. When you are thinking about what to do with Hyper-V or VM ware I heard about docker, so I decided to put it in for the time being.

The word "containerization" is used. Since it is troublesome to bother to allocate resources, I put docker in Windows and studied containers.

If you have any problems, I wonder if you should ask quora (https://jp.quora.com/).

goal

Installation

https://www.docker.com/why-docker

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

ubuntu installation

I don't expect to raise the image I made, so I won't create a docker HUB account. Create and operate a container according to the following flow while using PowerShell or command prompt

Check if there is an image in docker

docker images

DL image of ubuntu

docker pull ubuntu

Create docker container

docker run -it --name test ubuntu

Show list of containers

docker ps -a

Stop container

docker stop test

Start of container

docker start test

Enter the container and type the command

docker exec -it test bash

Delete container

docker rm test

I could use ubuntu.

Neither ʻifconfig nor ʻip address show could be used. You need to be clear about what you can do with the image.

Summary

Recommended Posts

Until you build the docker environment and start / stop the Ubuntu container
Until you build a Nuxt.js development environment with Docker and touch it with VS Code
Until you put Ubuntu 20 on Windows 10 Home and WSL2 and run Docker
Check the contents by docker pull from ECR and start the container
How to install the language used in Ubuntu and how to build the environment
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
[GCP] Until you push the local Docker image to the Container Registry
[Docker] Start the container as soon as possible
Build Cakephp environment from docker installation Ubuntu
Until you run apache on ubuntu on docker
Note: [Docker] How to start and stop
Template: Build a Ruby / Rails development environment with a Docker container (Ubuntu version)
[Docker] Check the running container and enter there
Build mecab (NEologd dictionary) environment with Docker (ubuntu)
How to mount the batch file location via WSL2 and start the Docker container
Monitor the Docker container and SystemD process on the same host with Zabbix on Ubuntu.
Build Apache and Tomcat environment with Docker. By the way, Maven & Java cooperation
Install Ubuntu 20.04 in virtual box on windows10 and build a development environment using docker
Let's finally use Docker: Start, stop, delete development environment
Automatically start the container
How to quit Docker for Mac and build a Docker development environment with Ubuntu + Vagrant
Prepare the environment for java11 and javaFx with Ubuntu 18.4
Install Rust in WSL2 Ubuntu environment and build WASM build environment
Build WordPress environment with Docker (Local) and AWS (Production)
Until you build a project described in scala with Maven and execute it with the scala command.
[Docker] When you enter the db container and look at the data, Japanese is displayed as ???
Copy and paste the file contents in Ubuntu's Docker container
Until you start nginx on CentOS using Docker on Mac OS
Until you run Quarkus and run docker image on Amazon ECS
Install docker and docker-compose on ubuntu in the shortest process
I tried to build the environment little by little using docker
Build a Node-RED environment with Docker to move and understand
I tried to build the environment of WSL2 + Docker + VSCode
Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)
Build docker environment with WSL
Organize communication in an environment that uses various resources on the host machine and Docker container
How to build an environment with Docker, which is the minimum required to start a Rails application
I tried to build the environment of PlantUML Server with Docker
Build a browser test environment using Capybara in the Docker development environment
Will you replace Docker? Next-generation container management tools Podman and Buildah
Push the Docker Image distributed by Docker Hub to Google Container Registry and start the VM based on that Image
Pg_resetwal can be used to start the PostgreSQL Docker container when WAL is broken and cannot be started.
[Virtualization] Install VMware and build Ubuntu (20.04)
Build Couchbase local environment with Docker
Build a Node.js environment with Docker
Build PlantUML environment with VSCode + Docker
Build the latest Samba 4 on Ubuntu 20.04
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
Build a XAMPP environment on Ubuntu
Pass environment variables to docker container
[Linux] Start Apache container with Docker
Build Unity development environment on docker
Build docker + laravel environment with laradock
Build WebRTC Janus with Docker container
About Docker, disguise server and container
Build debug environment on container --Build local development environment for Rails tutorial with Docker-
Make a daily build of the TOPPERS kernel with Gitlab and Docker
Wait for PostgreSQL to start with Docker and then start the WEB service
[Rails & Docker & MySQL environment construction] I started the container, but I can't find MySQL ...?
Remember the cloudbuild network if you use Docker within the Cloud Build steps