Tried NYM-Mixnet privacy communication that no one can intercept
As of April 2022, almost all infrastructure and network engineers have probably never heard of NYM. On the other hand, some of you may have arrived at …
When building a production server in the following environment.
DNS name resolution doesn’t work, when it access a endpoint outside docker container. One of the following two ways that sets up dns on docker container resolves the issue.
update docker-compose.yml with the following.
version: '3.3'
services:
app:
restart: always
dns: 8.8.8.8
You create the following resolv.conf file, then you mount the flie at /etc/resolv.conf inside the container.
search google.internal
nameserver 8.8.8.8
options ndots:0
Despite taking the above two ways, sometimes DNS doesn’t resolve in Docker after reboot server.
It is necessary running the docker.service after network-online.target service. The following is the default [Unit] in docker.service.
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
But sometimes docker.service begin to run before the network setting on network-online.target is completed. I found the solution that include the following in the [Service].
[Service]
ExecStartPre=/bin/sleep 5
This is unreasonable way waiting 5s. But it work correctry.
https://github.com/clearlinux/distribution/issues/157
(Article migrated from another blog)
As of April 2022, almost all infrastructure and network engineers have probably never heard of NYM. On the other hand, some of you may have arrived at …
Words like “web 3.0” have been popular since around 2020. There has also been a virtual currency boom for some time now, and the systems …