Add files

This commit is contained in:
RemiZOffAlex 2024-09-18 04:13:01 +03:00
parent b8b0c94722
commit c9290efa1c
8 changed files with 44 additions and 0 deletions

19
files/docker.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e
dnf -y remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

View File

@ -0,0 +1,7 @@
{
"debug": true,
"hosts": [
"unix:///run/docker.sock"
],
"containerd": "/run/containerd/containerd.sock"
}

View File

@ -0,0 +1,5 @@
[Match]
Name=en*
[Network]
Bridge=br0

View File

@ -0,0 +1,3 @@
[NetDev]
Name=br0
Kind=bridge

View File

@ -0,0 +1,7 @@
[Match]
Name=br0
[Network]
#Address=192.168.0.10/24
#Gateway=192.168.0.1
DNS=1.1.1.1 8.8.8.8 9.9.9.9

View File

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root %I $TERM