English 中文(简体)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 32 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
原标题:"man docker" displays No manual entry for docker. OS relesse is CentOS Linux release 7.6.1810

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 29 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 27 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

man docker

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 26 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

[root@localhost package]# man docker
No manual entry for docker
[root@localhost package]# 

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 24 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

I tried this https://github.com/docker/cli/issues/217 but failed to execute command:

make -f docker.Makefile manpages

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 23 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

[root@localhost cli]# make -f docker.Makefile manpages
# build dockerfile from stdin so that we don t send the build-context; source is bind-mounted in the development environment
cat ./dockerfiles/Dockerfile.dev | docker build  --build-arg=GO_VERSION -t docker-cli-dev -
[+] Building 37.6s (12/17)                                                                                                                                                                  
 => [internal] load build definition from Dockerfile                                                                                                                                   0.1s
 => => transferring dockerfile: 1.39kB                                                                                                                                                 0.0s
 => [internal] load .dockerignore                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => resolve image config for docker.io/docker/dockerfile:1.1.7-experimental                                                                                                            8.2s
 => CACHED docker-image://docker.io/docker/dockerfile:1.1.7-experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44                                       0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                   0.0s
 => => transferring dockerfile: 1.39kB                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/library/golang:1.13.15-alpine                                                                                                               3.8s
 => [internal] load build context                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => CACHED [golang 1/1] FROM docker.io/library/golang:1.13.15-alpine@sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd                                           0.0s
 => ERROR [esc 1/1] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,target=/go/pkg/mod     --mount=type=tmpfs,target=/go/src/     GO111MODULE=on go get g  24.7s
 => ERROR [gotestsum 1/1] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,target=/go/pkg/mod     --mount=type=tmpfs,target=/go/src/     GO111MODULE=on go  25.0s
 => CANCELED [vndr 1/1] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,target=/go/pkg/mod     --mount=type=tmpfs,target=/go/src/     GO111MODULE=on go g  25.2s
 => CANCELED [dev 1/6] RUN  apk add --no-cache     bash     build-base     ca-certificates     coreutils     curl     git                                                             24.9s
------                                                                                                                                                                                      
 > [esc 1/1] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,target=/go/pkg/mod     --mount=type=tmpfs,target=/go/src/     GO111MODULE=on go get github.com/mjibson/[email protected]:                                                                                                                                                                              
#9 1.657 go: finding github.com v0.2.0                                                                                                                                                      
#9 1.657 go: finding github.com/mjibson/esc v0.2.0                                                                                                                                          
#9 1.657 go: finding github.com/mjibson v0.2.0                                                                                                                                              
#9 24.73 go get github.com/mjibson/[email protected]: github.com/mjibson/[email protected]: Get https://proxy.golang.org/github.com/mjibson/esc/@v/v0.2.0.info: dial tcp 172.217.160.81:443: connect: connection refused                                                                                                                                                                              
------                                                                                                                                                                                      
------
 > [gotestsum 1/1] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,target=/go/pkg/mod     --mount=type=tmpfs,target=/go/src/     GO111MODULE=on go get gotest.tools/[email protected]:
#13 1.790 go: finding gotest.tools v0.4.0
#13 1.790 go: finding gotest.tools/gotestsum v0.4.0
#13 24.85 go get gotest.tools/[email protected]: gotest.tools/[email protected]: Get https://proxy.golang.org/gotest.tools/gotestsum/@v/v0.4.0.info: dial tcp 172.217.160.81:443: connect: connection refused
------
error committing hzbnvm8bnbc2aaeohlt26ig3f: invalid mutable ref 0xc000faaca0: invalid: error committing ajz9dk7pkc11sno3lmyeoe6xg: invalid mutable ref 0xc00100e520: invalid: executor failed running [/bin/sh -c GO111MODULE=on go get gotest.tools/gotestsum@${GOTESTSUM_VERSION}]: exit code: 1
make: *** [build_docker_image] Error 1
[root@localhost cli]# 
问题回答

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 21 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 20 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 18 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 17 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

Here s a specific example using "httpd" as the package to download and install. This process was tested on both CentOS6 and CentOS7.

Install the stuff you need and make a place to put the downloaded RPMs:

# yum install yum-plugin-downloadonly yum-utils createrepo
# mkdir /var/tmp/httpd
# mkdir /var/tmp/httpd-installroot

Download the RPMs. This uses the installroot trick suggested here to force a full download of all dependencies since nothing is installed in that empty root. Yum will create some metadata in there, but we re going to throw it all away. Note that for CentOS7 releasever would be "7".

# yum install --downloadonly --installroot=/var/tmp/httpd-installroot --releasever=6 --downloaddir=/var/tmp/httpd httpd

Yes, that was the small version. You should have seen the size of the full-repo downloads!

Generate the metadata needed to turn our new pile of RPMs into a YUM repo and clean up the stuff we no longer need:

# createrepo --database /var/tmp/httpd
# rm -rf /var/tmp/httpd-installroot

Configure the download directory as a repo. Note that for CentOS7 the gpgkey would be named "7" instead of "6":

# vi /etc/yum.repos.d/offline-httpd.repo
[offline-httpd]
name=CentOS-$releasever - httpd
baseurl=file:///var/tmp/httpd
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 15 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

# repoclosure --repoid=offline-httpd

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 14 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE

MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 00 HOURS 00 MINUTES 12 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE





相关问题
UNIX System Call Listing?

I have an assignment where I need to use some system calls in UNIX, like mktime() and fnmatch(), to complete some operations. We re given only the names of the man pages to look up to find the ...

Why does man 2 open say that there are two kinds of open?

I ran into this question while typing man 2 open. It says that there are two kinds of open, one with two args, and one with three! last time i checked we could not overload functions in C. How did ...

What is "q.v." in the tcsh man page

Ok, this has been an on-going annoyance, so naturally I thought to bring it here. In the tcsh man page the phrase q.v. is used, and I have no clue why those four characters are inserted. Is it self ...

Period in a man page?

I have a bold line, followed by a line starting with a period. man thinks that the . is the start of a command... is there a way to "escape" it? .B bold words ./something The ./something is a ...

How to get OpenGL man pages on Ubuntu as in "man glRotate"?

When on MacOSX, "man glRotate" brings up the glRotate manpage. On ubuntu, with manpages-dev and manpages-posix-dev insatlled, "man glRotate" doesn t bring up the glRotate manpage (though I can build ...

Remove page numbers from man pages in Solaris?

When I use Solaris, I get page numbers every 60 lines or so that look like this SunOS 5.11 Last change: 10 Feb 2009 1 Also, I get headers like User Commands ...

热门标签