Let's specify the version when using docker

I used to build the development environment with Docker + docker-compose, but when I recreated the environment, it stopped working, so make a note.

What i did

--Delete container with docker-compose down --Delete image with docker rmi --Recreate container with docker-compose up

Cause

I didn't specify the version of the container image and it stopped working because the image pulled by latest was updated.

Conclusion

Let's specify the image version properly when creating a docker container

Recommended Posts

Let's specify the version when using docker
Let's see the execution result when using prepared statements in JDBC
Precautions when using checkstyle version 6.6 or higher
Let's analyze the GC log using GCMV
After summarizing the virtualization plan, let's think about using Docker for business
I tried using Docker for the first time
Specify ClassPath when using jupyter + Java with WSL
Make Volume faster when using Docker with vscode.
Push the image to docker hub using Jib
About the mechanism when displaying the GUI with Docker
Let's introduce the credit card function using payjp (preparation)
Run the Android emulator on Docker using Android Emulator Container Scripts
Install MySQL 5.6 on CentOS6 [How to specify the version]
Differences in code when using the length system in Java
Command to try using Docker for the time being
Error when using SnapKit
Let's understand the function!
Template creation program when using the reminder function in slack
[Enum] Let's improve the readability of data by using rails enum
Install by specifying the version of Django in the Docker environment
When using the constructor of Java's Date class, the date advances by 1900.
[Docker] List of errors that occurred when building the environment
[Memo] Commands used when using Docker (stop container, delete, delete image)
Specify the character code of the source when building with Maven
I tried to build the environment little by little using docker
When using FloatingPanel, the tableView created by Stroybard becomes nil
Know the convenience of Docker (-compose) now (information list that I referred to when using it)
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x