( kroozo | 2019. 01. 03., cs – 16:27 )

Úgy, hogy többek között te szoktál vernyákolni, hogy a systemd mindent is csinál, és az nem az init dolga. Fel szokott jönni a mindenféle damontools és hasonlók pl.

Ráadásul:


docker run -ti --rm busybox /bin/sh                                                                                                                                   ~/zmc6.0.10 
/ # ifconfig 
eth0      Link encap:Ethernet  HWaddr 02:42:AC:12:00:02  
          inet addr:172.18.0.2  Bcast:172.18.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4460 (4.3 KiB)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/ # ifup 
BusyBox v1.26.2 (2017-05-15 21:05:54 UTC) multi-call binary.

Usage: ifup [-anmvf] [-i FILE] IFACE...

        -a      Configure all interfaces
        -i FILE Use FILE instead of /etc/network/interfaces
        -n      Print out what would happen, but don't do it
                (note: doesn't disable mappings)
        -m      Don't run any mappings
        -v      Print out what would happen before doing it
        -f      Force configuration
/ # ifdown 
BusyBox v1.26.2 (2017-05-15 21:05:54 UTC) multi-call binary.

Usage: ifdown [-anmvf] [-i FILE] IFACE...

        -a      Deconfigure all interfaces
        -i FILE Use FILE for interface definitions
        -n      Print out what would happen, but don't do it
                (note: doesn't disable mappings)
        -m      Don't run any mappings
        -v      Print out what would happen before doing it
        -f      Force deconfiguration