启动docker服务时出错。 “ docker.service的依赖项作业失败。有关详细信息,请参见'journalctl -xe'。”

时间:2019-05-15 08:57:01

标签: docker kubernetes systemd docker-engine systemd-journald

因此,在对docker配置进行一些细微更改之后,我尝试重新启动docker,并导致出现以下错误消息

TextBlock

Kubernetes也正在运行该docker守护程序的同一台计算机上运行。 以下是docker服务的日志(<StackPanel> <TextBlock Grid.Row="0" Name="TxtScannedQty" Text="{Binding RowData.Row.ScannedQty, Converter={UIConverter:WarehouseInventoryDefineValueConvertor}}" HorizontalAlignment="Right"> <TextBlock.Style> <Style TargetType="{x:Type TextBlock}"> <Setter Property="Tag" Value="Collapsed" /> <Style.Triggers> <DataTrigger Binding="{Binding ElementName=TxtScannedQty,Path=Text}" Value="Zero"> <Setter Property="Text" Value="{Binding RowData.Row.ScannedQty, StringFormat= {}{0}}"></Setter> </DataTrigger> <DataTrigger Binding="{Binding ElementName=TxtScannedQty,Path=Text}" Value="Plus"> <Setter Property="Text" Value="{Binding RowData.Row.ScannedQty, StringFormat= +{}{0}}"></Setter> <Setter Property="Tag" Value="Visible"></Setter> </DataTrigger> <DataTrigger Binding="{Binding ElementName=TxtScannedQty,Path=Text}" Value="Minus"> <Setter Property="Text" Value="{Binding RowData.Row.ScannedQty, StringFormat= -{}{0}}"></Setter> </DataTrigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> <Grid> <Polygon Name="PlusPolygon" Points="5,0 10,10, 0,10" Stroke="Green" Fill="Green"> <Polygon.Style> <Style TargetType="Polygon"> <Style.Triggers> <DataTrigger Binding="{Binding Visibility, ElementName=MinusPolygon}" Value="Visible"> <Setter Property="Visibility" Value="Collapsed" /> </DataTrigger> </Style.Triggers> </Style> </Polygon.Style> </Polygon> <Polygon Name="MinusPolygon" Points="0,0 5,10, 10,0" Stroke="Red" Fill="Red" Visibility="{Binding Tag, ElementName=TxtScannedQty}" /> <Line Name="Zero1" Stroke="Gray" X1="0" Y1="2" X2="10" Y2="2" SnapsToDevicePixels="True" RenderOptions.EdgeMode="Aliased" StrokeThickness="2" /> <Line Name="Zero2" Stroke="Gray" X1="0" Y1="4" X2="10" Y2="4" SnapsToDevicePixels="True" RenderOptions.EdgeMode="Aliased" StrokeThickness="2" /> </Grid> </StackPanel> 的输出)。

$array = array( 
    array('id' => 23, 'merchant_id' => 23),
    array('id' => 24, 'merchant_id' => 46),
    array('id' => 25, 'merchant_id' => 34),
    array('id' => 26, 'merchant_id' => 46),
);

$final = array();

foreach ($array as $key => $value) {
    if($value['merchant_id'] == 46){
        $final[] = $value;
    }
}

print_r($final);

我关注了Github和SO的一些联系,但到目前为止还没有任何运气。 以下是我尝试过的事情
 1.删​​除了A dependency job for docker.service failed. See 'journalctl -xe' for details.,重新加载了docker-daemon并尝试重新启动docker,没有用。
 2.在目录journalctl -u docker.service内创建一个名为May 15 08:56:06 ilcepoc500 systemd[1]: Stopping Docker Application Container Engine... May 15 08:56:07 ilcepoc500 oci-umount[42741]: umounthook <debug>: 5148572ffa9c: only runs in prestart stage, ignoring May 15 08:56:07 ilcepoc500 oci-systemd-hook[42824]: systemdhook <debug>: 4676114a4bcd: Skipping as container command is /fission-bundle, not init or systemd May 15 08:56:07 ilcepoc500 oci-systemd-hook[43025]: systemdhook <debug>: 92140d272e14: Skipping as container command is /go/bin/all-in-one-linux, not init or systemd May 15 08:56:18 ilcepoc500 oci-umount[44315]: umounthook <debug>: prestart container_id:12d638f87c0d rootfs:/storage/docker/overlay2/ab7502908ea8a939e9ea7379f9715e40b563717404fc5c2ee923062e67520f15/merged May 15 08:56:21 ilcepoc500 systemd[1]: Dependency failed for Docker Application Container Engine. May 15 08:56:21 ilcepoc500 systemd[1]: Job docker.service/start failed with result 'dependency'. 的文件,并尝试重新启动Docker服务无效。

0 个答案:

没有答案