Docker中的Docker:不支持存储驱动程序

Docker中的Docker:不支持存储驱动程序,docker,docker-machine,Docker,Docker Machine,我正在我的mac电脑里制作一个软呢帽容器。在fedora容器内,我想运行docker 我在选择存储驱动程序时遇到问题。i、 e不支持 日志: dockerd 信息[2021-04-26T15:06:14.921783500Z]启动 信息[2021-04-26T15:06:14.923583100Z]解析的方案:“unix”模块=grpc 信息[2021-04-26T15:06:14.923705600Z]方案“unix”未注册,回退到默认方案模块=grpc 信息[2021-04-26T15:06

我正在我的mac电脑里制作一个软呢帽容器。在fedora容器内,我想运行docker

我在选择存储驱动程序时遇到问题。i、 e不支持

日志:

dockerd
信息[2021-04-26T15:06:14.921783500Z]启动
信息[2021-04-26T15:06:14.923583100Z]解析的方案:“unix”模块=grpc
信息[2021-04-26T15:06:14.923705600Z]方案“unix”未注册,回退到默认方案模块=grpc
信息[2021-04-26T15:06:14.923956400Z]CCresolverRapper:正在向cc发送更新:{[{unix:///run/containerd/containerd.sock   0}]}模块=grpc
信息[2021-04-26T15:06:14.924137200Z]客户端连接将平衡器切换到“先拾取”模块=grpc
信息[2021-04-26T15:06:14.926885300Z]解析的方案:“unix”模块=grpc
信息[2021-04-26T15:06:14.926935900Z]方案“unix”未注册,回退到默认方案模块=grpc
信息[2021-04-26T15:06:14.927045600Z]CCresolverRapper:正在向cc发送更新:{[{unix:///run/containerd/containerd.sock   0}]}模块=grpc
信息[2021-04-26T15:06:14.927070100Z]客户端连接将平衡器切换到“先拾取”模块=grpc
ERRO[2021-04-26T15:06:14.928688500Z]不支持Udev同步。这将导致数据丢失和意外行为。安装更新版本的libdevmapper或选择其他存储驱动程序。有关详细信息,请参阅https://docs.docker.com/engine/reference/commandline/dockerd/#storage-驱动程序选项存储驱动程序=devicemapper
错误[2021-04-26T15:06:14.928746700Z][graphdriver]以前的存储驱动程序设备Apper失败:不支持驱动程序
无法启动守护程序:初始化graphdriver时出错:不支持驱动程序
[root@b13e5800256c/]#dockerd-s叠加
信息[2021-04-26T15:09:05.608473900Z]正在启动
信息[2021-04-26T15:09:05.610285500Z]解析的方案:“unix”模块=grpc
信息[2021-04-26T15:09:05.610383700Z]方案“unix”未注册,回退到默认方案模块=grpc
信息[2021-04-26T15:09:05.610444000Z]CCresolverRapper:正在向cc发送更新:{[{unix:///run/containerd/containerd.sock   0}]}模块=grpc
信息[2021-04-26T15:09:05.610490400Z]客户端连接将平衡器切换到“先拾取”模块=grpc
信息[2021-04-26T15:09:05.612951600Z]解析方案:“unix”模块=grpc
信息[2021-04-26T15:09:05.6130171000Z]方案“unix”未注册,回退到默认方案模块=grpc
信息[2021-04-26T15:09:05.61307640Z]CCresolverRapper:将更新发送到cc:{[{unix:///run/containerd/containerd.sock   0}]}模块=grpc
信息[2021-04-26T15:09:05.613150300Z]客户端连接将平衡器切换到“先拾取”模块=grpc
警告[2021-04-26T15:09:05.615294800Z][graphdriver]警告:覆盖存储驱动程序已弃用,将在将来的版本中删除
ERRO[2021-04-26T15:09:05.618962600Z]未能装载覆盖:无效参数存储驱动程序=覆盖
无法启动守护程序:初始化graphdriver时出错:不支持驱动程序

您通常不希望在Docker中运行Docker。你能说说你具体想做什么,以及为什么要运行DinD吗?你是如何启动容器的,你使用的是什么图像?我使用的是mac。因此,我想使用LinuxEnv为我的repo构建映像。所以MacOS上带有os fedora.Docker Desktop的容器运行一个隐藏的Linux虚拟机,它通常会构建和运行Linux映像。(因为Docker容器总是使用主机内核,所以在任何情况下都不能使用DinD为不同的操作系统构建容器。)好的。明白了,但DinD还是有可能的,对吧?
dockerd 
INFO[2021-04-26T15:06:14.921783500Z] Starting up                                  
INFO[2021-04-26T15:06:14.923583100Z] parsed scheme: "unix"                         module=grpc
INFO[2021-04-26T15:06:14.923705600Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2021-04-26T15:06:14.923956400Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2021-04-26T15:06:14.924137200Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2021-04-26T15:06:14.926885300Z] parsed scheme: "unix"                         module=grpc
INFO[2021-04-26T15:06:14.926935900Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2021-04-26T15:06:14.927045600Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2021-04-26T15:06:14.927070100Z] ClientConn switching balancer to "pick_first"  module=grpc
ERRO[2021-04-26T15:06:14.928688500Z] Udev sync is not supported. This will lead to data loss and unexpected behavior. Install a more recent version of libdevmapper or select a different storage driver. For more information, see https://docs.docker.com/engine/reference/commandline/dockerd/#storage-driver-options  storage-driver=devicemapper
ERRO[2021-04-26T15:06:14.928746700Z] [graphdriver] prior storage driver devicemapper failed: driver not supported 
failed to start daemon: error initializing graphdriver: driver not supported
[root@b13e5800256c /]# dockerd -s overlay
INFO[2021-04-26T15:09:05.608473900Z] Starting up                                  
INFO[2021-04-26T15:09:05.610285500Z] parsed scheme: "unix"                         module=grpc
INFO[2021-04-26T15:09:05.610383700Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2021-04-26T15:09:05.610444000Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2021-04-26T15:09:05.610490400Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2021-04-26T15:09:05.612951600Z] parsed scheme: "unix"                         module=grpc
INFO[2021-04-26T15:09:05.613017100Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2021-04-26T15:09:05.613076400Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2021-04-26T15:09:05.613150300Z] ClientConn switching balancer to "pick_first"  module=grpc
WARN[2021-04-26T15:09:05.615294800Z] [graphdriver] WARNING: the overlay storage-driver is deprecated, and will be removed in a future release 
ERRO[2021-04-26T15:09:05.618962600Z] failed to mount overlay: invalid argument     storage-driver=overlay
failed to start daemon: error initializing graphdriver: driver not supported