View previous topic :: View next topic |
Author |
Message |
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Tue Feb 15, 2022 1:54 pm Post subject: [Docker] install et démarrage avec crash[Résolu] |
|
|
Bonjour,
En suivant le wiki, Je n'ai pas pu lancer complètement docker :
NB : Je n'ai pas de service Quote: | rc-update add registry default | car il n'existe pas...
Mes packages :
Quote: |
acct-group/docker-0-r1::gentoo
app-containers/docker-20.10.9::gentoo
app-containers/docker-cli-20.10.9::gentoo
app-containers/docker-proxy-0.8.0_p20210525::gentoo
|
Quote: |
info: reading kernel config from /proc/config.gz ...
Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled
- CONFIG_BRIDGE: enabled
- CONFIG_BRIDGE_NETFILTER: enabled
- CONFIG_IP_NF_FILTER: enabled
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_NETFILTER_XT_MARK: enabled (as module)
- CONFIG_IP_NF_NAT: enabled
- CONFIG_NF_NAT: enabled
- CONFIG_POSIX_MQUEUE: enabled
Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_MEMCG_SWAP: enabled
(cgroup swap accounting is currently enabled)
- CONFIG_LEGACY_VSYSCALL_EMULATE: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: enabled
- CONFIG_NET_CLS_CGROUP: enabled
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_NF_TARGET_REDIRECT: enabled
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_PROTO_TCP: enabled
- CONFIG_IP_VS_PROTO_UDP: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT3_FS: enabled
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: enabled
- CONFIG_EXT3_FS_SECURITY: enabled
(enable these ext3 configs if you are using ext3 as backing filesystem)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
- "overlay":
- CONFIG_VXLAN: enabled (as module)
- CONFIG_BRIDGE_VLAN_FILTERING: enabled
Optional (for encrypted networks):
- CONFIG_CRYPTO: enabled
- CONFIG_CRYPTO_AEAD: enabled
- CONFIG_CRYPTO_GCM: enabled
- CONFIG_CRYPTO_SEQIV: enabled
- CONFIG_CRYPTO_GHASH: enabled
- CONFIG_XFRM: enabled
- CONFIG_XFRM_USER: enabled
- CONFIG_XFRM_ALGO: enabled
- CONFIG_INET_ESP: enabled (as module)
- "ipvlan":
- CONFIG_IPVLAN: enabled (as module)
- "macvlan":
- CONFIG_MACVLAN: enabled (as module)
- CONFIG_DUMMY: enabled (as module)
- "ftp,tftp client in container":
- CONFIG_NF_NAT_FTP: enabled (as module)
- CONFIG_NF_CONNTRACK_FTP: enabled (as module)
- CONFIG_NF_NAT_TFTP: enabled (as module)
- CONFIG_NF_CONNTRACK_TFTP: enabled (as module)
- Storage Drivers:
- "aufs":
- CONFIG_AUFS_FS: missing
- "btrfs":
- CONFIG_BTRFS_FS: enabled
- CONFIG_BTRFS_FS_POSIX_ACL: enabled
- "devicemapper":
- CONFIG_BLK_DEV_DM: enabled
- CONFIG_DM_THIN_PROVISIONING: enabled
- "overlay":
- CONFIG_OVERLAY_FS: enabled
- "zfs":
- /dev/zfs: missing
- zfs command: missing
- zpool command: missing
Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000
|
Pour résoudre
Quote: |
zfs command: missing
|
l'install de Code: | emerge sys-fs/zfs -av | n'a pas abouti car la version max du kernel est 5.15 et le mien est
Mais le problème n'est pas là, je pense.
Quote: |
DOCKER_LOGFILE="/var/log/docker.log"
DOCKER_OUTFILE="/var/log/docker-out.log"
DOCKER_ERRFILE="/var/log/docker-err.log"
DOCKER_PIDFILE="/run/docker.pid"
DOCKERD_BINARY="/usr/bin/dockerd"
DOCKER_OPTS="--storage-driver btrfs --data-root /srv/docker/var/lib/docker"
|
Le démarrage du service n'envoie pas d'erreur mais son check me dit que docker a crashé :
Quote: |
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-11.2.0, glibc-2.33-r7, 5.16.8-gentoo x86_64) [23/1066]
=================================================================
System uname: Linux-5.16.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-8705G_CPU_@_3.10GHz-with-glibc2.33
KiB Mem: 28251480 total, 3770972 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of repository gentoo: Mon, 14 Feb 2022 00:45:01 +0000
Head commit of repository gentoo: b79e8b8991d5b734d595ba77b65f2532ce50dd95
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.5.1 [enabled]
app-misc/pax-utils: 1.3.3::gentoo
app-shells/bash: 5.1_p16::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.34.0-r6::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.6.15::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust: 1.58.1::gentoo
dev-util/ccache: 4.5.1::gentoo
dev-util/cmake: 3.22.2::gentoo
dev-util/meson: 0.60.3::gentoo
sec-policy/selinux-base: 2.20220106-r1::gentoo
sys-apps/baselayout: 2.7-r3::gentoo
sys-apps/openrc: 0.44.10::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake: 1.16.4::gentoo
sys-devel/binutils: 2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/gcc: 11.2.0::gentoo
sys-devel/gcc-config: 2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/llvm: 13.0.0::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.33-r7::gentoo
sys-libs/libselinux: 3.3::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
local
location: /usr/local/portage
masters: gentoo
priority: 10
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -fforce-addr -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4.0 --keep-going=y --with-bdeps=y --complete-graph"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox n
ews parallel-fetch parallel-install preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="local"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git
"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl amd64 audit branding bzip2 caps chroot crypt cryptsetup elogind ffmpeg gnutls hardened iconv icu ipv6 jpeg libglvnd libtirpc logrotate lzma mmx modplug multilib ncurses nls nptl opengl openmp pam pax_kernel pcre perl pic pie png
python readline seccomp secure_delete selinux snmp split-usr sse sse2 ssl ssp symlink unicode wavpack webrsync-gpg xattr xml xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd action
s alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filt
er file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="load memory
syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea
ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postg
res13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pkno
ck lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCO
PY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
Je suis en SELinux mais je suis passé en permissive pour tester mais avec toujours le crash.
Dans les logs, je n'ai rien vu de spécial.
Tout retour serait apprécié.
Last edited by y351 on Mon Mar 21, 2022 11:37 am; edited 1 time in total |
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Tue Feb 15, 2022 1:59 pm Post subject: |
|
|
Hmm...Lors du démarrage, j'ai ça dans les logs :
Quote: |
/etc/init.d/docker[3697]: start-stop-daemon: no matching processes found
|
|
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Tue Feb 15, 2022 2:05 pm Post subject: |
|
|
Je relance le service :
Code: | /etc/init.d/docker start |
Quote: |
* WARNING: docker has already been started
|
Quote: |
/etc/init.d/docker[4481]: WARNING: docker has already been started
|
Code: |
ps aux | egrep -i docker
|
ne donne rien. |
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Tue Feb 15, 2022 3:15 pm Post subject: |
|
|
Quote: |
INFO[2022-02-15T16:12:34.919573045+01:00] Starting up
INFO[2022-02-15T16:12:34.923383384+01:00] libcontainerd: started new containerd process pid=23576
INFO[2022-02-15T16:12:34.923434047+01:00] parsed scheme: "unix" module=grpc
INFO[2022-02-15T16:12:34.923448519+01:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-02-15T16:12:34.923469121+01:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>} module=grpc
INFO[2022-02-15T16:12:34.923483263+01:00] ClientConn switching balancer to "pick_first" module=grpc
INFO[2022-02-15T16:12:34.942088087+01:00] starting containerd revision=5b46e404f6b9f661a205e28d59c982d3634148f8 version=1.4.11
INFO[2022-02-15T16:12:34.958854360+01:00] loading plugin "io.containerd.content.v1.content"... type=io.containerd.content.v1
INFO[2022-02-15T16:12:34.959031592+01:00] loading plugin "io.containerd.snapshotter.v1.aufs"... type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.963169739+01:00] skip loading plugin "io.containerd.snapshotter.v1.aufs"... error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found in directory /lib/modules/5.16
.8-gentoo\\n\"): skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.963201693+01:00] loading plugin "io.containerd.snapshotter.v1.btrfs"... type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.964010121+01:00] loading plugin "io.containerd.snapshotter.v1.devmapper"... type=io.containerd.snapshotter.v1
WARN[2022-02-15T16:12:34.964052296+01:00] failed to load plugin io.containerd.snapshotter.v1.devmapper error="devmapper not configured"
INFO[2022-02-15T16:12:34.964101564+01:00] loading plugin "io.containerd.snapshotter.v1.native"... type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.964208146+01:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"... type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.964629101+01:00] loading plugin "io.containerd.snapshotter.v1.zfs"... type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.965478627+01:00] skip loading plugin "io.containerd.snapshotter.v1.zfs"... error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotte
r: skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-02-15T16:12:34.965507013+01:00] loading plugin "io.containerd.metadata.v1.bolt"... type=io.containerd.metadata.v1
WARN[2022-02-15T16:12:34.965570315+01:00] could not use snapshotter devmapper in metadata plugin error="devmapper not configured"
INFO[2022-02-15T16:12:34.965609465+01:00] metadata content store policy set policy=shared
INFO[2022-02-15T16:12:34.965836575+01:00] loading plugin "io.containerd.differ.v1.walking"... type=io.containerd.differ.v1
INFO[2022-02-15T16:12:34.965861381+01:00] loading plugin "io.containerd.gc.v1.scheduler"... type=io.containerd.gc.v1
INFO[2022-02-15T16:12:34.965926343+01:00] loading plugin "io.containerd.service.v1.introspection-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966055308+01:00] loading plugin "io.containerd.service.v1.containers-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966085788+01:00] loading plugin "io.containerd.service.v1.content-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966115122+01:00] loading plugin "io.containerd.service.v1.diff-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966146547+01:00] loading plugin "io.containerd.service.v1.images-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966178124+01:00] loading plugin "io.containerd.service.v1.leases-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966208619+01:00] loading plugin "io.containerd.service.v1.namespaces-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966238445+01:00] loading plugin "io.containerd.service.v1.snapshots-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.966267207+01:00] loading plugin "io.containerd.runtime.v1.linux"... type=io.containerd.runtime.v1
INFO[2022-02-15T16:12:34.966448345+01:00] loading plugin "io.containerd.runtime.v2.task"... type=io.containerd.runtime.v2
INFO[2022-02-15T16:12:34.966642526+01:00] loading plugin "io.containerd.monitor.v1.cgroups"... type=io.containerd.monitor.v1
INFO[2022-02-15T16:12:34.967089699+01:00] loading plugin "io.containerd.service.v1.tasks-service"... type=io.containerd.service.v1
INFO[2022-02-15T16:12:34.967145765+01:00] loading plugin "io.containerd.internal.v1.restart"... type=io.containerd.internal.v1
INFO[2022-02-15T16:12:34.967206203+01:00] loading plugin "io.containerd.grpc.v1.containers"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967229395+01:00] loading plugin "io.containerd.grpc.v1.content"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967255155+01:00] loading plugin "io.containerd.grpc.v1.diff"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967280263+01:00] loading plugin "io.containerd.grpc.v1.events"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967317555+01:00] loading plugin "io.containerd.grpc.v1.healthcheck"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967362097+01:00] loading plugin "io.containerd.grpc.v1.images"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967383063+01:00] loading plugin "io.containerd.grpc.v1.leases"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967403339+01:00] loading plugin "io.containerd.grpc.v1.namespaces"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967426051+01:00] loading plugin "io.containerd.internal.v1.opt"... type=io.containerd.internal.v1
INFO[2022-02-15T16:12:34.967537496+01:00] loading plugin "io.containerd.grpc.v1.snapshots"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967569224+01:00] loading plugin "io.containerd.grpc.v1.tasks"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967590757+01:00] loading plugin "io.containerd.grpc.v1.version"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.967610582+01:00] loading plugin "io.containerd.grpc.v1.introspection"... type=io.containerd.grpc.v1
INFO[2022-02-15T16:12:34.968037692+01:00] serving... address=/var/run/docker/containerd/containerd-debug.sock
INFO[2022-02-15T16:12:34.968261291+01:00] serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
INFO[2022-02-15T16:12:34.968488366+01:00] serving... address=/var/run/docker/containerd/containerd.sock
INFO[2022-02-15T16:12:34.968534098+01:00] containerd successfully booted in 0.028188s
INFO[2022-02-15T16:12:34.979109140+01:00] parsed scheme: "unix" module=grpc
INFO[2022-02-15T16:12:34.979138618+01:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-02-15T16:12:34.979172346+01:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>} module=grpc
INFO[2022-02-15T16:12:34.979189321+01:00] ClientConn switching balancer to "pick_first" module=grpc
INFO[2022-02-15T16:12:34.979957827+01:00] parsed scheme: "unix" module=grpc
INFO[2022-02-15T16:12:34.979990843+01:00] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2022-02-15T16:12:34.980018835+01:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}] <nil> <nil>} module=grpc
INFO[2022-02-15T16:12:34.980035859+01:00] ClientConn switching balancer to "pick_first" module=grpc
WARN[2022-02-15T16:12:35.061615541+01:00] Your kernel does not support cgroup blkio weight
WARN[2022-02-15T16:12:35.061642134+01:00] Your kernel does not support cgroup blkio weight_device
INFO[2022-02-15T16:12:35.061834360+01:00] Loading containers: start.
ERRO[2022-02-15T16:12:35.165906601+01:00] could not get initial namespace: permission denied
WARN[2022-02-15T16:12:35.166256755+01:00] Could not load necessary modules for IPSEC rules: permission denied
ERRO[2022-02-15T16:12:35.175451533+01:00] could not create netlink handle on initial namespace: permission denied
INFO[2022-02-15T16:12:35.175577712+01:00] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=moby
INFO[2022-02-15T16:12:35.175615204+01:00] stopping healthcheck following graceful shutdown module=libcontainerd
INFO[2022-02-15T16:12:35.175622620+01:00] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=plugins.moby
WARN[2022-02-15T16:12:36.176814088+01:00] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///va
r/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc
WARN[2022-02-15T16:12:36.176818496+01:00] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///va
r/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x560ffe528cc7]
goroutine 1 [running, locked to thread]:
github.com/docker/docker/vendor/github.com/vishvananda/netlink.(*Handle).SetSocketTimeout(0xc0000e3e30, 0x2)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/handle_linux.go:47 +0xa7
github.com/docker/docker/vendor/github.com/docker/libnetwork/ns.Init()
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/ns/init_linux.go:36 +0xfe
sync.(*Once).doSlow(0x100000000000006, 0x7fdbac39f4a0)
/usr/lib/go/src/sync/once.go:68 +0xd2
sync.(*Once).Do(...)
/usr/lib/go/src/sync/once.go:59
github.com/docker/docker/vendor/github.com/docker/libnetwork/ns.SetNamespace()
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/ns/init_linux.go:44 +0x37
github.com/docker/docker/vendor/github.com/docker/libnetwork/osl.InitOSContext()
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/osl/namespace_linux.go:433 +0x1e
github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).createNetwork(0xc0005d0680, 0xc000540000)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:679 +0x55
github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).populateNetworks(0xc0005d0680)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge_store.go:62 +0x2d2
github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).initStore(0xc0005d0680, 0x560fff249078)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge_store.go:35 +0x1cc
github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).configure(0xc0005d0680, 0x560fff7ab240)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:439 +0x66b
github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.Init({0x560fffb11310, 0xc00022ae40}, 0x6)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:169 +0x98
github.com/docker/docker/vendor/github.com/docker/libnetwork/drvregistry.(*DrvRegistry).AddDriver(...)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drvregistry/drvregistry.go:72
github.com/docker/docker/vendor/github.com/docker/libnetwork.New({0xc0005d0600, 0x9, 0x10})
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:221 +0x61c
github.com/docker/docker/daemon.(*Daemon).initNetworkController(0xc00000c1e0, 0xc000156000, 0xc0009c8de0)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/daemon/daemon_unix.go:855 +0x65
github.com/docker/docker/daemon.(*Daemon).restore(0xc00000c1e0)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/daemon/daemon.go:490 +0x532
github.com/docker/docker/daemon.NewDaemon({0x560fffb54410, 0xc000840580}, 0xc000156000, 0xc000885260)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/daemon/daemon.go:1150 +0x3037
main.(*DaemonCli).start(0xc0007b2c00, 0xc000a00420)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/cmd/dockerd/daemon.go:195 +0xa36
main.runDaemon(...)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/cmd/dockerd/docker_unix.go:13
main.newDaemonCommand.func1(0xc000461600, {0x561000d620c8, 0x0, 0x0})
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/cmd/dockerd/docker.go:34 +0x5c
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc000461600, {0xc00004e200, 0x0, 0x0})
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:850 +0x60e
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc000461600)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:958 +0x3ad
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:895
main.main()
/var/tmp/portage/app-containers/docker-20.10.9/work/docker-20.10.9/src/github.com/docker/docker/cmd/dockerd/docker.go:97 +0x15d
|
Quote: |
ERRO[2022-02-15T16:12:35.165906601+01:00] could not get initial namespace: permission denied
ERRO[2022-02-15T16:12:35.175451533+01:00] could not create netlink handle on initial namespace: permission denied
|
|
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Tue Feb 15, 2022 4:59 pm Post subject: |
|
|
Avec ça, je peux lancer, en mode permissive, le daemon dockerd pour un test :
Quote: | CONFIG_BLK_CGROUP=y
CONFIG_BLK_CGROUP_RWSTAT=y
# CONFIG_BLK_CGROUP_IOLATENCY is not set
# CONFIG_BLK_CGROUP_IOCOST is not set
# CONFIG_BLK_CGROUP_IOPRIO is not set |
-->
Quote: | CONFIG_BLK_CGROUP=y
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_CGROUP_IOLATENCY=y
CONFIG_BLK_CGROUP_IOCOST=y
CONFIG_BLK_CGROUP_IOPRIO=y
|
Mais en mode Enforcing,
me donne des erreurs :
Quote: |
WARN[2022-02-15T17:54:18.152723666+01:00] Your kernel does not support cgroup blkio weight
WARN[2022-02-15T17:54:18.152749699+01:00] Your kernel does not support cgroup blkio weight_device
INFO[2022-02-15T17:54:18.152983810+01:00] Loading containers: start.
ERRO[2022-02-15T17:54:18.247008429+01:00] could not get initial namespace: permission denied
WARN[2022-02-15T17:54:18.247324242+01:00] Could not load necessary modules for IPSEC rules: permission denied
ERRO[2022-02-15T17:54:18.255034489+01:00] could not create netlink handle on initial namespace: permission denied
INFO[2022-02-15T17:54:18.255199332+01:00] stopping healthcheck following graceful shutdown module=libcontainerd
INFO[2022-02-15T17:54:18.255207241+01:00] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=moby
INFO[2022-02-15T17:54:18.255343462+01:00] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=plugins.moby
WARN[2022-02-15T17:54:19.256162635+01:00] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc
WARN[2022-02-15T17:54:19.256266817+01:00] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x56456fa22cc7]
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|