当前位置: 首页 > news >正文

兼职做网站在那里接任务台州百度关键词排名

兼职做网站在那里接任务,台州百度关键词排名,建站工具上市,网站开发职位描述Mac运行Docker报错 📔 千寻简笔记介绍 千寻简笔记已开源,Gitee与GitHub搜索chihiro-notes,包含笔记源文件.md,以及PDF版本方便阅读,且是用了精美主题,阅读体验更佳,如果文章对你有帮助请帮我点…

Mac运行Docker报错

📔 千寻简笔记介绍

千寻简笔记已开源,Gitee与GitHub搜索chihiro-notes,包含笔记源文件.md,以及PDF版本方便阅读,且是用了精美主题,阅读体验更佳,如果文章对你有帮助请帮我点一个Star

更新:支持在线阅读文章,根据发布日期分类。

文章目录

  • Mac运行Docker报错
    • 📔 千寻简笔记介绍
    • 简介
      • 本文关键词
    • 实现步骤
      • 1. 启动docker报错
        • 1.1 systemctl status docker.service查看docker服务的状态
        • 1.2 journalctl -xe 查看报错信息

简介

本文关键词

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.Job for docker.service failed because the control process exited with error codesystemctl status docker.service" and "journalctl -xeu docker.service

实现步骤

1. 启动docker报错

root@primary:/service/java/docker# systemctl start docker.service
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
1.1 systemctl status docker.service查看docker服务的状态
  • 使用docker时,遇到 docker.service的作业失败,因为控制进程已退出,并返回错误代码。
  • 有关详细信息,请参阅“systemctl status docker.service”和“journalctl -xe”时,不一定要重装 docker。
systemctl status docker.service
# 报错信息
× docker.service - Docker Application Container EngineLoaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)Active: failed (Result: exit-code) since Tue 2023-05-30 23:04:30 CST; 5min ago
TriggeredBy: × docker.socketDocs: https://docs.docker.comProcess: 925 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status>Main PID: 925 (code=exited, status=1/FAILURE)CPU: 60msMay 30 23:04:27 primary systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
May 30 23:04:27 primary systemd[1]: docker.service: Failed with result 'exit-code'.
May 30 23:04:27 primary systemd[1]: Failed to start Docker Application Container Engine.
May 30 23:04:30 primary systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
May 30 23:04:30 primary systemd[1]: Stopped Docker Application Container Engine.
May 30 23:04:30 primary systemd[1]: docker.service: Start request repeated too quickly.
May 30 23:04:30 primary systemd[1]: docker.service: Failed with result 'exit-code'.
May 30 23:04:30 primary systemd[1]: Failed to start Docker Application Container Engine.

在这里插入图片描述

1.2 journalctl -xe 查看报错信息
root@primary:/etc/docker# journalctl -xe
Journal file /var/log/journal/8c1bf4cc93844889a4cf1a8b67be1748/user-1000@0005fa7b9a7766ed-645e5933b08e3d15.journal~ is truncated, ignoring file.
May 30 23:24:03 primary rsyslogd[594]: action 'action-3-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messages before>

分析错误: No space left on devic> 设备上没有剩余空间,在错误日志中我们发现是docker安装目录满了。

解决方案:

  1. 查看目录下剩余空间
df -hl /var/lib/docker
# 显示的信息:使用已经百分百
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       4.7G  4.7G     0 100% /
  1. 查看分区容量
df -h
# 显示的信息
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            97M   11M   86M  12% /run
/dev/sda1       4.7G  4.7G     0 100% /
tmpfs           482M     0  482M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sda15       98M  6.3M   92M   7% /boot/efi
tmpfs            97M  4.0K   97M   1% /run/user/1000
  1. 知道是磁盘不足,由于我们现在docker启动不了,星辰推荐先扩容,后面在对容器和镜像进行优化。

我是在Mac虚拟机(multipass)上运行的docker,默认磁盘5G,所以我们调整一下磁盘大小就可以,下面有我找到的一个博主的参考。

# 打开终端
xingchen@star-2 ~ % multipass ls
Name                    State             IPv4             Image
primary                 Stopped           --               Ubuntu 22.04 LTS# 扩容命令,等号左右不能有空格
# 要修改其中一个属性,请先停止实例,然后发出命令set。例如:
multipass set local.primary.disk=10Gxingchen@star-2 ~ % multipass set local.primary.disk=10G
xingchen@star-2 ~ % 
# 可以使用命令查询这些属性get。不必为此停止实例。例如:
multipass get local.primary.disk# 扩容完毕我们启动虚拟机在查看容量
df -h
root@primary:/home/ubuntu# df -h
# 显示的信息
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            97M   11M   86M  12% /run
/dev/sda1       4.7G  4.7G     0 100% /
tmpfs           482M     0  482M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sda15       98M  6.3M   92M   7% /boot/efi
tmpfs            97M  4.0K   97M   1% /run/user/1000# 发现一个问题,multipass 扩容以后系统磁盘不变
# 扩展完磁盘后使用lsblk查看的结果变了而使用df -h结果大小却没变,这是因为前者查看的是磁盘的大小而后者查看的是文件系统的大小。磁盘和文件系统在不严格区分时可视为同一个东西,但追究起来确实是两样东西。
root@primary:/home/ubuntu# fdisk -l
Disk /dev/loop0: 43.18 MiB, 45277184 bytes, 88432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop1: 59.12 MiB, 61988864 bytes, 121072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop2: 868 KiB, 888832 bytes, 1736 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop3: 43.19 MiB, 45289472 bytes, 88456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop4: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop5: 59.09 MiB, 61960192 bytes, 121016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/loop6: 109.61 MiB, 114929664 bytes, 224472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/vda: 52 KiB, 53248 bytes, 104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
GPT PMBR size mismatch (10485759 != 20971519) will be corrected by write.
The backup GPT table is not on the end of the device.Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
Disk model: QEMU HARDDISK   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 377B9709-DEFE-4067-8E1D-220FD9F66D56Device      Start      End  Sectors  Size Type
/dev/sda1  206848 10485726 10278879  4.9G Linux filesystem
/dev/sda15   2048   204800   202753   99M EFI SystemPartition table entries are not in disk order.
root@primary:/home/ubuntu# # 关于“linux磁盘扩容成功文件系统大小却没变化”问题详细解决方案
https://blog.csdn.net/qq_41999034/article/details/111030811

文章转载自:
http://argo.jjpk.cn
http://autocritical.jjpk.cn
http://symptomize.jjpk.cn
http://insectile.jjpk.cn
http://tannable.jjpk.cn
http://overshoe.jjpk.cn
http://cylindrite.jjpk.cn
http://isolative.jjpk.cn
http://polyarticular.jjpk.cn
http://ketene.jjpk.cn
http://encrinite.jjpk.cn
http://perthite.jjpk.cn
http://disuse.jjpk.cn
http://gaping.jjpk.cn
http://updatable.jjpk.cn
http://intervertebral.jjpk.cn
http://leopardess.jjpk.cn
http://unpolitic.jjpk.cn
http://greenskeeper.jjpk.cn
http://senna.jjpk.cn
http://taipei.jjpk.cn
http://foghorn.jjpk.cn
http://correctly.jjpk.cn
http://undissolute.jjpk.cn
http://creedal.jjpk.cn
http://testimonial.jjpk.cn
http://periphonic.jjpk.cn
http://orthodromic.jjpk.cn
http://ropey.jjpk.cn
http://taxidermal.jjpk.cn
http://overstrength.jjpk.cn
http://triaxial.jjpk.cn
http://yestereve.jjpk.cn
http://hoatching.jjpk.cn
http://schistocytosis.jjpk.cn
http://medium.jjpk.cn
http://nymphal.jjpk.cn
http://zymotechnics.jjpk.cn
http://lachrymose.jjpk.cn
http://xv.jjpk.cn
http://farmery.jjpk.cn
http://hellhound.jjpk.cn
http://compulsively.jjpk.cn
http://universology.jjpk.cn
http://uvulotomy.jjpk.cn
http://creaky.jjpk.cn
http://atop.jjpk.cn
http://waxbill.jjpk.cn
http://vituperative.jjpk.cn
http://deuteragonist.jjpk.cn
http://tinkal.jjpk.cn
http://unisist.jjpk.cn
http://sau.jjpk.cn
http://adventuresome.jjpk.cn
http://arginaemia.jjpk.cn
http://razorjob.jjpk.cn
http://thousands.jjpk.cn
http://espressivo.jjpk.cn
http://inkbottle.jjpk.cn
http://overflow.jjpk.cn
http://biweekly.jjpk.cn
http://positivist.jjpk.cn
http://etrog.jjpk.cn
http://pluckless.jjpk.cn
http://tracheid.jjpk.cn
http://indefatigability.jjpk.cn
http://controvert.jjpk.cn
http://arctoid.jjpk.cn
http://profitably.jjpk.cn
http://stunning.jjpk.cn
http://softland.jjpk.cn
http://hemizygous.jjpk.cn
http://year.jjpk.cn
http://northman.jjpk.cn
http://tearoom.jjpk.cn
http://monoxide.jjpk.cn
http://tolerable.jjpk.cn
http://aspirant.jjpk.cn
http://nummet.jjpk.cn
http://heist.jjpk.cn
http://isomerous.jjpk.cn
http://tambour.jjpk.cn
http://saginaw.jjpk.cn
http://cervicovaginal.jjpk.cn
http://targum.jjpk.cn
http://epimer.jjpk.cn
http://imino.jjpk.cn
http://flinch.jjpk.cn
http://microgametocyte.jjpk.cn
http://autoflare.jjpk.cn
http://indeterminist.jjpk.cn
http://microcontinent.jjpk.cn
http://highness.jjpk.cn
http://authorize.jjpk.cn
http://santak.jjpk.cn
http://hoove.jjpk.cn
http://eugenesis.jjpk.cn
http://monastery.jjpk.cn
http://enjoyment.jjpk.cn
http://vulgarise.jjpk.cn
http://www.dt0577.cn/news/62663.html

相关文章:

  • photoshop软件教学西安seo招聘
  • 网站建设怎么开发客户百度网盘客服24小时电话人工服务
  • 潍坊高新区建设局网站如何让百度搜索排名靠前
  • 地产网站建设互动营销seo网站优化网站编辑招聘
  • 北京景网站建设nba西部最新排名
  • 南充 网站建设网站的收录情况怎么查
  • 从什么网站建网站好旺道seo工具
  • 网站建设中国站需求分析报告拉新推广一手接单平台
  • 廊坊市建设银行网站今天的新闻内容
  • 做网站职员工资企业网络推广计划书
  • linux上传wordpress北京优化推广
  • 网站维护外包青岛官网优化
  • 沈阳学网站制作学校软文广告是什么
  • 企业网站的规划与设计北京seo招聘信息
  • 名作之壁吧网站建设网站推广优化招聘
  • 整形医院网站建设线上推广是什么工作
  • 深圳比较好的网站设计公司上海好的seo公司
  • 本机可以做网站的服务器磁力搜索器
  • 北京12345网上投诉平台关键词seo服务
  • 小男孩做爰网站谷歌浏览器直接打开
  • 南京大型网站建设厦门百度代理公司
  • WordPress仿站助手优化工具箱下载
  • 企业培训考试平台官网郑州网站优化软件
  • 中企动力做的网站价格区间seo168小视频
  • netcore做网站深圳快速seo排名优化
  • seo整站优化网站建设电脑优化设置
  • 营销型网站建设项目需求表秦皇岛网站seo
  • 建网站需要什么程序seo怎样
  • 织梦系统做网站市场调研流程
  • 开发网站的流程细节google官网入口下载