方言を話すおしゃべり猫型ロボット『ミーア』をリリースしました(こちらをクリック)

docker

スポンサーリンク
Development/Design

How to resolve Dirty status of database migration in Golang

This section summarises how to deal with a Dirty state of migration in server development using Golang and golang-migrate. a Dirty state means that the migration has been interrupted and the database is in an inconsistent state. The solution procedure is described below as a reminder.
Development/Design

[Docker] Understanding inter-container communication. external configuration and access methods

For inter-container communication in Docker, you first need to manually create an existing Docker network. Afterwards, set external: true in docker-compose.yml.For inter-container communication, the port mapping of the host is irrelevant and the internal port is used directly.
Development/Design

[Docker] Port mapping. port numbers appear a lot, so I organized them.

When Dockerising and accessing services inside the container, the Docker container itself is an environment that is also independent of the host machine, so access is only possible via the container port.There are two ways to configure Docker port mapping: using the docker run command or using docker-compose.yml.
Development/Design

[Docker memorandum] DockerFile, docker-compose.yml, Docker command

Docker enables virtualization (running a virtual PC inside a PC) using containers, which are lighter and more efficient than traditional virtual machines. a Docker container is a runtime environment generated from a Docker image. Containers are launched based on images and provide an isolated environment for running applications.
スポンサーリンク