首页 > 系统相关 >Ubuntu - snap info / apt info

Ubuntu - snap info / apt info

时间:2023-09-13 10:13:06浏览次数:34  
标签:info 24 sudo apt snap docker Docker

zzh@ZZHPC:~$ sudo snap info docker
name: docker
summary: Docker container runtime
publisher: Canonical✓
store-url: https://snapcraft.io/docker
contact: https://github.com/docker-snap/docker-snap/issues?q=
license: Apache-2.0 AND GPL-2.0 AND MIT
description: |
Build and run container images with Docker.

**Usage**

* This build can only access files in the home directory. So Dockerfiles and all other files used
in commands like `docker build`, `docker save` and `docker load` need to be in $HOME.
* You can change the configuration of this build by modifying the files in
`/var/snap/docker/current/`.
* Additional certificates used by the Docker daemon to authenticate with registries need to be
added in `/var/snap/docker/current/etc/docker/certs.d` (instead of `/etc/docker/certs.d`). This
directory can be accessed by other snaps using the `docker-registry-certificates` content
interface.

**Running Docker as normal user**

By default, Docker is only accessible with root privileges (`sudo`). If you want to use docker as
a regular user, you need to add your user to the `docker` group.

sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
sudo snap disable docker
sudo snap enable docker

**Warning:** if you add your user to the `docker` group, it will have similar power as the `root`
user. For details on how this impacts security in your system, see
https://docs.docker.com/engine/security/#docker-daemon-attack-surface

**Authors**

This snap is built by Canonical based on source code published by Docker, Inc. It is not endorsed
or published by Docker, Inc.

Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United
States and/or other countries. Docker, Inc. and other parties may also have trademark rights in
other terms used herein.
snap-id: sLCsFAO8PKM5Z0fAKNszUOX0YASjQfeZ
channels:
latest/stable: 20.10.24 2023-05-25 (2893) 135MB -
latest/candidate: 20.10.24 2023-05-25 (2893) 135MB -
latest/beta: 20.10.24 2023-08-24 (2904) 135MB -
latest/edge: 20.10.24 2023-08-23 (2904) 135MB -
core18/stable: 20.10.17 2023-03-13 (2746) 146MB -
core18/candidate: ↑
core18/beta: ↑
core18/edge: ↑
zzh@ZZHPC:~$ sudo apt info docker
Package: docker
Version: 1.5-2
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Paul Tagliamonte <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9,216 B
Depends: wmdocker
Download-Size: 1,316 B
APT-Sources: http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: transitional package
This is a transitional package for system tray docking application.
It can safely be removed.

zzh@ZZHPC:~$ sudo apt remove docker
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'docker' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

标签:info,24,sudo,apt,snap,docker,Docker
From: https://www.cnblogs.com/zhangzhihui/p/17698788.html

相关文章

  • 在 Docker 容器中部署 Ubuntu 系统,并使其编码为 UTF-8 并能使用 apt、rpm、vi 等命令
    运行一个新的Docker容器并以交互模式运行dockerrun-itd--namemy-ubuntuubuntu:20.04/bin/bash在容器中更新apt包管理器索引和安装基本工具aptupdate-yaptinstall-yapt-utilswgetcurlvimlocales在容器中设置UTF-8编码在文件中找到en_US.UTF-8UTF-8......
  • centos如何安装apt?
    在CentOS系统上,apt是Debian和Ubuntu等基于Debian的发行版上的包管理器,而CentOS使用的是基于RedHat的包管理器yum或dnf。如果你希望在CentOS上使用apt,你需要安装apt的替代品aptitude。以下是在CentOS上安装aptitude的步骤:打开终端并切换到root用户或具......
  • Proj. CRR Paper Reading: Optimal Speedup of Las Vegas Algorithms, Adaptive resta
    TitleAdaptiverestartforstochasticsynthesisPLDI2021TaskDistributethepowerbetweenmultiplerunsinstochasticprogramsynthesistoaccelerateHere,astochasticprogramsynthesisprogramcanbesummarizedasfollows:Givenasetof<input,ou......
  • Burp Unexpected_information插件二次开发教程
    Unexpected_information是什么?Unexpected_information是一款开源的Burp插件,该插件的主要场景是用来辅助渗透测试工作,它可以自动的标记出请求包中的一些敏感信息、JS接口和一些特殊字段,防止我们在测试中疏忽了一些数据包,能发现平时渗透测试中忽略掉的一细节信息。Unexpected_i......
  • chapter 1 引言
    chapter1引言1.1知识点归纳Linux入门1.Unix简介早期Unix发展历程主要Unix版本:AT&TUnix、BerkeleyUnix、HPUnix、IBMUnix、SunUnix2.Linux简介Linux起源与发展主流Linux发行版本:Debian、Ubuntu、Mint、RedHat等3.Linux硬件平台x86位架构为主流其他平......
  • QuartzNet在blazor-winform的使用
    通过构造函数获取ISchedulerFactoryprivateasyncvoidInitJob(){var_scheduler=await_schedulerFactory.GetScheduler();_scheduler.JobFactory=newQuartzJobFactory(_serviceProvider);;//awaitfactory.GetScheduler();IJobDetailjob=......
  • debezium报错:no longer available on the server. Reconfigure the connector to use
    debezium报错:nolongeravailableontheserver.Reconfiguretheconnectortouseasnapshotwhenneede完整报错如下:-“trace”:"io.debezium.DebeziumException:TheconnectoristryingtoreadbinlogstartingatSourceInfo[currentGtid=null,currentBinlogFilename......
  • Apktool编译后安装报packageInfo is null
    使用Apktool正常编译apk后,安装时报:解析软件包时出现问题(33),详细信息:packageInfoisnull解决方案这是由于应用程序的签名不正确。使用签名工具对apk签名一下就行。......
  • Paper: Informer
    Informer时间序列模型1Introduction3significantlimitationsinLSTFLSTF(Longsequencetime-seriesforecasting)Thequadraticcomputationofself-attention.Theatomoperationofself-attentionmechanism,namelycanonicaldot-product,causesthetimecom......
  • apt update与upgrade 区别
    转载自:《apt的update和upgrade区别》如果想让你的Ubuntu或者Debian系统保持更新,要用sudoaptupdate和sudoaptupgrade 命令组合。我们首先讨论一下update和upgrade的区别。这两个难道不是一样的吗?一些以前的教程也会提到​​sudoapt-getupdate​​​和......