One of the causes and solutions when whales do not appear in Docker Quickstart Terminal

Introduction

If you are using Windows10 Home and you use Docker as a development environment, I think you are using Docker Toolbox. In this article, I will introduce the errors I encountered today (December 27, 2020) and the solutions.

Details of the error

The Docker Quickstart Terminal, which started up normally until the day before yesterday, suddenly stopped showing whales today. The error content of hitting docker-machine start default at the command prompt is like this.

(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar. listen tcp4 127.0.0.1:55712: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

Probably, I think that Quickstart Terminal also had an error like this. (At that time, I didn't intend to write an article, so I didn't check it firmly.)

It seems that the port you want to use is already being used by someone.

Solutions

Since it tells me the port number in the error content, Run netstat -ano | find" 55712 " at the command prompt to find out the process ID. After that, just in case, I checked the details of the process in Task Manager, terminated the process, and restarted Quickstart Terminal, and I was able to see the whale safely.

in conclusion

It wasn't as much as I would write here, but I'll write it down as my memorandum so that I won't panic in the future.

Recommended Posts

One of the causes and solutions when whales do not appear in Docker Quickstart Terminal
What to do when ‘Could not find’ in any of the sources appears in the development environment with Docker × Rails × RSpec
When rewriting the CMD of docker image of Pod in the manifest of k8s, command is not good
What to do when Rails on Docker does not reflect controller changes in the browser
What to do when "relation" hibernate_sequence "does not exist" in the ID column of PostgreSQL + JPA
In order not to confuse the understanding of getters and setters, [Do not use accessors for anything! ]
What to do when the changes in the Servlet are not reflected
What to do if Operation not permitted is displayed when you execute a command in the terminal
How to constrain the action of the transition destination when not logged in
Do not return when memoizing in Ruby
When composer install/require in the Docker container, it becomes `Could not find package`
What to do when rails db: seed does not reflect in the database
Be absolutely careful when putting the result of and / or in a variable!
When the project is not displayed in eclipse
Check when created_at, datetime, etc. are not saved in Japan time in Docker and Rails
Library not loaded when trying to upgrade the version of ruby and rails s
"Do not show again" check does not work in the warning dialog when starting applet