• Home
  • Linux
  • Docker
  • Windows
    • PS
    • C#
    • Exchange Server
  • Other
    • Perl
    • IPV6
    • MacOS
  • DB
    • MSSQL
    • MariaDB
    • PG

Configuring remote access with systemd unit file

Details
Written by: po3dno
Category: Docker
Created: 31 December 2024
Hits: 230
nano /lib/systemd/system/docker.service

ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376 --containerd=/run/containerd/containerd.sock

sudo systemctl daemon-reload
sudo systemctl restart docker.service

ss -lntp | grep dockerd

Команды для bind9

Details
Written by: po3dno
Category: Docker
Created: 25 November 2024
Hits: 214

docker run -it --rm --name bind9-container -e TZ=UTC -p 53:53 -p 53:53/udp --mount type=bind,source=/data/bind/conf/,target=/etc/bind:rw ubuntu/bind9

docker exec -it bind9-container /bin/bash

docker volume create --opt type=none --opt device=/data/bind/bind-conf --opt o=bind bind-conf bind-conf

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 175
  • Articles View Hits 154278