Note: [Docker] How to start and stop

Memorandum φ (..) Memo Memo

【starting method】

Launch the app

スクリーンショット 2021-01-11 21.20.54.png

Enter the following in the place where Docker is placed

terminal


lancai@oja dev % docker-compose up -d

↓ OK if it returns as below

terminal


Creating network "proxy-net" with driver "bridge"
Creating rootp-db ... done

↓ OK if it is RUNNING

スクリーンショット 2021-01-11 21.24.21.png

How to exit

Enter the following in the place where Docker is placed

terminal


$ lancai@oja dev % docker-compose down

↓ OK if it returns as below

terminal


Stopping * DB name... done
Removing * DB name... done
Removing network proxy-net

Recommended Posts

Note: [Docker] How to start and stop
How to start Camunda with Docker
How to install Docker
How to use Segmented Control and points to note
How to set Docker nginx
[Note] How to write Dockerfile/docker-compose.yml
How to launch Swagger UI and Swagger Editor in Docker
How to use StringBurrer and Arrays.toString.
[Rails] How to use devise (Note)
How to use EventBus3 and ThreadMode
How to run JavaFX on Docker
How to call classes and methods
How to use equality and equality (how to use equals)
How to connect Heroku and Sequel
How to convert LocalDate and Timestamp
[Artifactory] How to use Docker repository
Challenge to install WSL2 and docker
How to build CloudStack using Docker
Until you build the docker environment and start / stop the Ubuntu container
How to use OrientJS and OrientDB together
[Rails] How to use rails console with docker
[Note] How to get started with Rspec
[Java] How to output and write files!
How to set up and use kapt
How to build SquashTM and how to support Japanese
How to find the tens and ones
How to use Java Scanner class (Note)
[Note] How to use Rails 6 Devise + cancancan
[Easy] How to upgrade Ruby and bundler
How to use substring and substr methods
Ruby: CSV :: How to use Table Note
How to write and explain Dockerfile, docker-compose
How to use @Builder and @NoArgsConstructor together
How to run Blazor (C #) with Docker
How to build Rails 6 environment with Docker
[Docker] How to create a virtual environment for Rails and Nuxt.js apps
[Java] Note how to use RecyclerView and implementation of animated swipe processing.
[Environment construction] Docker startup error! Steps to enable Hyper-V and start Docker again
[Node.js express Docker] How to define Docker environment variables and load them with node.js
How to start a Docker container with a volume mounted in a batch file
JDBC promises and examples of how to write
[Ruby] How to convert from lowercase to uppercase and from uppercase to lowercase
How to output Excel and PDF using Excella
[Java] How to use FileReader class and BufferedReader class
How to check the logs in the Docker container
How to execute and mock methods using JUnit
I want to control the start / stop of servers and databases with Alexa
How to get a heapdump from a Docker container
[Java] How to get and output standard input
[Ruby] How to use gsub method and sub method
How to make Spring Boot Docker Image smaller
Note how to use Swift super basic TableView
How to install NVIDIA driver on Ubuntu 18.04 (Note)
How to deploy
Git and GitHub ~ How to fix common errors ~
How to update pre-built files in docker container
Command to stop or delete all Docker resources
How to set up and operate jEnv (Mac)
How to give your image to someone with docker
Note how to rollback Mysql deployed on Heroku
How to use scope and pass processing (Jakarta)