记录1

 Xshell  (Build )
Copyright (c) NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt.
[C:\~]$ Connecting to 192.168.114.130:...
Connection established.
To escape to local shell, press Ctrl+Alt+]. Welcome to Ubuntu 16.04. LTS (GNU/Linux 4.15.--generic x86_64) * Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage * Overheard at KubeCon: "microk8s.status just blew my mind". https://microk8s.io/docs/commands#microk8s.status 个可升级软件包。
个安全更新。 Last login: Tue Oct ::
root@coder:~# ls
root@coder:~#
root@coder:~#
root@coder:~#
root@coder:~#
root@coder:~# cd /etc/docker/
root@coder:/etc/docker# ls
daemon.json key.json
root@coder:/etc/docker# more daemon.json
{
"registry-mirrors": ["https://uog9ef8i.mirror.aliyuncs.com"]
}
root@coder:/etc/docker# whereis dig
dig: /usr/bin/dig /usr/share/man/man1/dig..gz
root@coder:/etc/docker# ping https://uog9ef8i.mirror.aliyuncs.com
^C
root@coder:/etc/docker# nslookup https://uog9ef8i.mirror.aliyuncs.com
Server: 127.0.1.1
Address: 127.0.1.1# ** server can't find https://uog9ef8i.mirror.aliyuncs.com: SERVFAIL root@coder:/etc/docker# apt-cache search docker
libcib-dev - cluster resource manager CIB library development
libcib4 - cluster resource manager CIB library
libcrmcluster-dev - cluster resource manager cluster library development
libcrmcluster4 - cluster resource manager cluster library
libcrmcommon-dev - cluster resource manager common library development
libcrmcommon3 - cluster resource manager common library
libcrmservice-dev - cluster resource manager service library development
libcrmservice3 - cluster resource manager service library
liblrmd-dev - cluster resource manager LRMD library development
liblrmd1 - cluster resource manager LRMD library
libpe-rules2 - cluster resource manager Policy Engine rules library
libpe-status10 - cluster resource manager Policy Engine status library
libpengine-dev - cluster resource manager Policy Engine library development
libpengine10 - cluster resource manager Policy Engine library
libstonithd-dev - cluster resource manager STONITH daemon library development
libstonithd2 - cluster resource manager STONITH daemon library
libtransitioner2 - cluster resource manager transitioner library
pacemaker - cluster resource manager
pacemaker-cli-utils - cluster resource manager command line utilities
pacemaker-common - cluster resource manager common files
pacemaker-doc - cluster resource manager HTML documentation
pacemaker-resource-agents - cluster resource manager general resource agents
python-magnumclient - client library for Magnum API - Python .x
python-magnumclient-doc - client library for Magnum API - doc
cadvisor - analyze resource usage and performance characteristics of running containers
ctop - Command line / text based Linux Containers monitoring tool
debocker - docker-powered package builder for Debian
debootstick - Turn a chroot environment into a bootable image
docker - System tray for KDE3/GNOME2 docklet applications
docker-compose - Punctual, lightweight development environments using Docker
docker-registry - Docker toolset to pack, ship, store, and deliver content
docker.io - Linux container runtime
golang-docker-dev - Transitional package for golang-github-docker-docker-dev
golang-github-docker-distribution-dev - Docker toolset to pack, ship, store, and deliver content (source)
golang-github-docker-docker-dev - Externally reusable Go packages included with Docker
golang-github-docker-go-units-dev - parse and print size and time units in human-readable format
golang-github-docker-libkv-dev - Key/Value store abstraction library
golang-github-docker-libtrust-dev - Primitives for identity and authorization
golang-github-docker-notary-dev - tool for running and interacting with trusted collections
golang-github-docker-spdystream-dev - multiplexed stream library using spdy
golang-github-endophage-gotuf-dev - Go implementation of the TUF specification
golang-github-fsouza-go-dockerclient-dev - Docker client library in Go
golang-github-google-cadvisor-dev - analyze resource usage and performance of running containers
golang-github-samalba-dockerclient-dev - Docker client library in Go
golang-github-vishvananda-netlink-dev - netlink library for go
gosu - Simple Go-based setuid+setgid+setgroups+exec
karbon - vector graphics application for the Calligra Suite
kdocker - lets you dock any application into the system tray
libnss-docker - nss module for finding Docker containers
magnum-api - OpenStack containers as a service
magnum-common - OpenStack containers as a service - API server
magnum-conductor - OpenStack containers as a service - conductor
needrestart - check which daemons need to be restarted after library upgrades
ovn-docker - OVN Docker drivers
pacemaker-remote - cluster resource manager proxy daemon for remote nodes
pidgin - graphical multi-protocol instant messaging client for X
python-dockerpty - Pseudo-tty handler for docker Python client (Python .x)
python-magnum - OpenStack containers as a service - Python library
python3-dockerpty - Pseudo-tty handler for docker Python client (Python .x)
python3-magnumclient - client library for Magnum API - Python .x
rawdns - raw DNS interface to the Docker API
ruby-docker-api - Ruby gem to interact with docker.io remote API
sen - Terminal user interface for docker engine
systemd-docker - wrapper for "docker run" to handle systemd quirks
vim-syntax-docker - Docker container engine - Vim highlighting syntax files
docker-doc - Linux container runtime -- documentation
golang-github-docker-containerd-dev - runC develpoment files
golang-github-opencontainers-runc-dev - Open Container Project - development files
python-docker - Python wrapper to access docker.io's control socket
python3-docker - Python wrapper to access docker.io's control socket
cockpit-docker - Cockpit user interface for Docker containers
docker-ce-cli - Docker CLI: the open-source application container engine
docker-ce - Docker: the open-source application container engine
root@coder:/etc/docker# systemctl start docker
root@coder:/etc/docker# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since 三 -- :: CST; 3min 25s ago
Docs: https://docs.docker.com
Main PID: (dockerd)
Tasks:
Memory: 124.7M
CPU: .155s
CGroup: /system.slice/docker.service
└─ /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock 12月 :: coder dockerd[]: time="2019-12-04T13:19:13.268794332+08:00" level=warning msg="Your kernel does not support cgroup rt period"
12月 :: coder dockerd[]: time="2019-12-04T13:19:13.268802119+08:00" level=warning msg="Your kernel does not support cgroup rt runtime"
12月 :: coder dockerd[]: time="2019-12-04T13:19:13.269288992+08:00" level=info msg="Loading containers: start."
12月 :: coder dockerd[]: time="2019-12-04T13:19:16.447675606+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. D
12月 :: coder dockerd[]: time="2019-12-04T13:19:16.705922675+08:00" level=info msg="Loading containers: done."
12月 :: coder dockerd[]: time="2019-12-04T13:19:18.182512939+08:00" level=info msg="Docker daemon" commit=633a0ea838 graphdriver(s)=overlay2 version=19.03.
12月 :: coder dockerd[]: time="2019-12-04T13:19:18.257751749+08:00" level=info msg="Daemon has completed initialization"
12月 :: coder systemd[]: Started Docker Application Container Engine.
12月 :: coder dockerd[]: time="2019-12-04T13:19:18.550338764+08:00" level=info msg="API listen on /var/run/docker.sock"
12月 :: coder systemd[]: Started Docker Application Container Engine.
root@coder:/etc/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx latest 231d40e811cd days ago 126MB
centos latest 0f3e07c0138f months ago 220MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 years ago 461MB
root@coder:/etc/docker# docker run --name webserver -d -p : nginx
e188b46041a5885c20f2ff3d2b4e68ee815081a50cc64e96b724969a7122227a
root@coder:/etc/docker# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e188b46041a5 nginx "nginx -g 'daemon of…" seconds ago Up seconds 0.0.0.0:->/tcp webserver
root@coder:/etc/docker# ip addr
: lo: <LOOPBACK,UP,LOWER_UP> mtu qdisc noqueue state UNKNOWN group default qlen
link/loopback ::::: brd :::::
inet 127.0.0.1/ scope host lo
valid_lft forever preferred_lft forever
inet6 ::/ scope host
valid_lft forever preferred_lft forever
: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu qdisc pfifo_fast state UP group default qlen
link/ether :0c::1c:: brd ff:ff:ff:ff:ff:ff
inet 192.168.44.135/ brd 192.168.44.255 scope global dynamic ens32
valid_lft 1536sec preferred_lft 1536sec
inet6 fe80::::4b25:b08f/ scope link
valid_lft forever preferred_lft forever
: ens35: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu qdisc pfifo_fast state UP group default qlen
link/ether :0c::1c::1b brd ff:ff:ff:ff:ff:ff
inet 192.168.114.130/ brd 192.168.114.255 scope global dynamic ens35
valid_lft 1536sec preferred_lft 1536sec
inet6 fe80::bedc:3e6a:d88c:c39e/ scope link
valid_lft forever preferred_lft forever
: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu qdisc noqueue state UP group default
link/ether :::::6c brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/ brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80:::43ff:fe27:756c/ scope link
valid_lft forever preferred_lft forever
: veth953ea42@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu qdisc noqueue master docker0 state UP group default
link/ether f6::e5:ea:7a:8c brd ff:ff:ff:ff:ff:ff link-netnsid
inet6 fe80::f412:e5ff:feea:7a8c/ scope link
valid_lft forever preferred_lft forever
root@coder:/etc/docker# docker search cmake
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
haffmans/cmake-qt5 Ubuntu based image with git, CMake and Qt5 d… [OK]
msrd0/cmake-qt5 Docker image with CMake and Qt5 [OK]
lycantropos/cmake CMake Docker image [OK]
techio/cmake-gcc-runner
jlouazel/cmake-boost Image used to build projects with CMake, g++…
saschpe/cmakelint cmakelint Docker container based on Alpine … [OK]
matrim/cmake-examples Used for testing the cmake-examples reposito…
dhermit/cmakefortran ArchLinux image with CMake, GFortran, Doxyxe… [OK]
ilssim/cmake-boost-qt5 cmake-boost-qt5 [OK]
drdanz/cmake
reporter123/cmake buldpack-deps based image with cmake and cla… [OK]
mickare/cmake-clang Ubuntu image with clang and cmake installed [OK]
chris298/cmakebuildlinux
devcafe/cmake-cookbook_circleci_ubuntu16.-intel2018. Docker image for testing CMake Cookbook on C… [OK]
devcafe/cmake-cookbook_circleci_ubuntu16.-pgi18. Docker image for testing CMake Cookbook on C… [OK]
samblaise/cmake-boost Image with cmake, boost and gcc based on ubu… [OK]
nercury/cmake-cpp Docker image of various C++ compilers bundle…
yolo/cmake_resource
mrts/cmake-gtest-valgrind-ubuntu Docker image with CMake, Google Test, Valgri…
haffmans/cmake-qt5-qommando Ubuntu based image with git, CMake, Qt5 and … [OK]
odaceo/cmake
kaskada/cmake-gcc5 [OK]
slaves/cmake cmake slave [OK]
2651bc1e8f/cmake_llvm-4.0
ataber/cmake
root@coder:/etc/docker# cmake-clang
cmake-clang:未找到命令
root@coder:/etc/docker# docker search cmake-clang
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
mickare/cmake-clang Ubuntu image with clang and cmake installed [OK]
ironpark/cmake-clang-openssl-libuv
thomascassimon/cmake-clang
daancode/cmake-clang Build env for cmake and clang.
root@coder:/etc/docker# docker container -ls
unknown shorthand flag: 'l' in -ls
See 'docker container --help'. Usage: docker container COMMAND Manage containers Commands:
attach Attach local standard input, output, and error streams to a running container
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
exec Run a command in a running container
export Export a container's filesystem as a tar archive
inspect Display detailed information on one or more containers
kill Kill one or more running containers
logs Fetch the logs of a container
ls List containers
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
prune Remove all stopped containers
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
run Run a command in a new container
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
wait Block until one or more containers stop, then print their exit codes Run 'docker container COMMAND --help' for more information on a command. root@coder:/etc/docker# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e188b46041a5 nginx "nginx -g 'daemon of…" minutes ago Up About a minute 0.0.0.0:->/tcp webserver
root@coder:/etc/docker# docker exec -it webserver bash
root@e188b46041a5:/# echo '<h1> hello, docker1 <h1>' /usr/share/nginx/html/index.html
<h1> hello, docker1 <h1> /usr/share/nginx/html/index.html
root@e188b46041a5:/# exit
exit
root@coder:/etc/docker# docker diff webserver
C /run
A /run/nginx.pid
C /var
C /var/cache
C /var/cache/nginx
A /var/cache/nginx/scgi_temp
A /var/cache/nginx/uwsgi_temp
A /var/cache/nginx/client_temp
A /var/cache/nginx/fastcgi_temp
A /var/cache/nginx/proxy_temp
C /root
A /root/.bash_history
root@coder:/etc/docker# docker images --format "{{.ID}}: {{.Repository}}"
231d40e811cd: nginx
0f3e07c0138f: centos
4621d4fe2959: ansible/ubuntu14.-ansible
root@coder:/etc/docker# docker image --format "{{.ID}}: {{.Repository}}"
unknown flag: --format
See 'docker image --help'. Usage: docker image COMMAND Manage images Commands:
build Build an image from a Dockerfile
history Show the history of an image
import Import the contents from a tarball to create a filesystem image
inspect Display detailed information on one or more images
load Load an image from a tar archive or STDIN
ls List images
prune Remove unused images
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rm Remove one or more images
save Save one or more images to a tar archive (streamed to STDOUT by default)
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE Run 'docker image COMMAND --help' for more information on a command. root@coder:/etc/docker# docker images --format "{{.ID}}: {{.Repository}}"
231d40e811cd: nginx
0f3e07c0138f: centos
4621d4fe2959: ansible/ubuntu14.-ansible
root@coder:/etc/docker# docker images --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}"
IMAGE ID REPOSITORY TAG
231d40e811cd nginx latest
0f3e07c0138f centos latest
4621d4fe2959 ansible/ubuntu14.-ansible latest
root@coder:/etc/docker# docker exec -it webserver bash
root@e188b46041a5:/# echo '<h1>Hello, Docker!</h1>' > /usr/share
bash: /usr/share: Is a directory
root@e188b46041a5:/# echo '<h1>Hello, Docker!</h1>' > /usr/share/nginx/html/index.html
root@e188b46041a5:/# exit
exit
root@coder:/etc/docker# docker diff webserver
C /run
A /run/nginx.pid
C /usr
C /usr/share
C /usr/share/nginx
C /usr/share/nginx/html
C /usr/share/nginx/html/index.html
C /var
C /var/cache
C /var/cache/nginx
A /var/cache/nginx/client_temp
A /var/cache/nginx/fastcgi_temp
A /var/cache/nginx/proxy_temp
A /var/cache/nginx/scgi_temp
A /var/cache/nginx/uwsgi_temp
C /root
A /root/.bash_history
root@coder:/etc/docker# docker commit \
> --author "xue <shuitian_ys@126.com>" \
> --message "modify the default web" \
> nginx:v2
Error response from daemon: No such container: nginx:v2
root@coder:/etc/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx latest 231d40e811cd days ago 126MB
centos latest 0f3e07c0138f months ago 220MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 years ago 461MB
root@coder:/etc/docker# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e188b46041a5 nginx "nginx -g 'daemon of…" minutes ago Up minutes 0.0.0.0:->/tcp webserver
root@coder:/etc/docker# docker commit \
> --author "xue <shuitian_ys@126.com>" \
> --message "modify the default web" \
> webserver \
> nginx:v2
sha256:50776ea0e5a44a9c43652f76e3a44ae5f9541dcaa7ae38f343ec9315c8e7c4e5
root@coder:/etc/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx v2 50776ea0e5a4 seconds ago 126MB
nginx latest 231d40e811cd days ago 126MB
centos latest 0f3e07c0138f months ago 220MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 years ago 461MB
root@coder:/etc/docker# docker history
"docker history" requires exactly argument.
See 'docker history --help'. Usage: docker history [OPTIONS] IMAGE Show the history of an image
root@coder:/etc/docker# docker history nginx:v2
IMAGE CREATED CREATED BY SIZE COMMENT
50776ea0e5a4 seconds ago nginx -g daemon off; 213B modify the default web
231d40e811cd days ago /bin/sh -c #(nop) CMD ["nginx" "-g" "daemon… 0B
<missing> days ago /bin/sh -c #(nop) STOPSIGNAL SIGTERM 0B
<missing> days ago /bin/sh -c #(nop) EXPOSE 0B
<missing> days ago /bin/sh -c ln -sf /dev/stdout /var/log/nginx… 22B
<missing> days ago /bin/sh -c set -x && addgroup --system -… .1MB
<missing> days ago /bin/sh -c #(nop) ENV PKG_RELEASE=~buster 0B
<missing> days ago /bin/sh -c #(nop) ENV NJS_VERSION=0.3. 0B
<missing> days ago /bin/sh -c #(nop) ENV NGINX_VERSION=1.17. 0B
<missing> days ago /bin/sh -c #(nop) LABEL maintainer=NGINX Do… 0B
<missing> days ago /bin/sh -c #(nop) CMD ["bash"] 0B
<missing> days ago /bin/sh -c #(nop) ADD file:bc8179c87c8dbb3d9… .2MB
root@coder:/etc/docker#
root@coder:/etc/docker# docker history nginx:v2
IMAGE CREATED CREATED BY SIZE COMMENT
50776ea0e5a4 About a minute ago nginx -g daemon off; 213B modify the default web
231d40e811cd days ago /bin/sh -c #(nop) CMD ["nginx" "-g" "daemon… 0B
<missing> days ago /bin/sh -c #(nop) STOPSIGNAL SIGTERM 0B
<missing> days ago /bin/sh -c #(nop) EXPOSE 0B
<missing> days ago /bin/sh -c ln -sf /dev/stdout /var/log/nginx… 22B
<missing> days ago /bin/sh -c set -x && addgroup --system -… .1MB
<missing> days ago /bin/sh -c #(nop) ENV PKG_RELEASE=~buster 0B
<missing> days ago /bin/sh -c #(nop) ENV NJS_VERSION=0.3. 0B
<missing> days ago /bin/sh -c #(nop) ENV NGINX_VERSION=1.17. 0B
<missing> days ago /bin/sh -c #(nop) LABEL maintainer=NGINX Do… 0B
<missing> days ago /bin/sh -c #(nop) CMD ["bash"] 0B
<missing> days ago /bin/sh -c #(nop) ADD file:bc8179c87c8dbb3d9… .2MB
root@coder:/etc/docker# docker run --name web2 -d -p : nginx:v2
a279c8cb04300e443d9a1679260759d89491f5ebc658b5b930b9cd56f228287d
root@coder:/etc/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx v2 50776ea0e5a4 About a minute ago 126MB
nginx latest 231d40e811cd days ago 126MB
centos latest 0f3e07c0138f months ago 220MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 years ago 461MB
root@coder:/etc/docker# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a279c8cb0430 nginx:v2 "nginx -g 'daemon of…" seconds ago Up seconds 0.0.0.0:->/tcp web2
e188b46041a5 nginx "nginx -g 'daemon of…" minutes ago Up minutes 0.0.0.0:->/tcp webserver
root@coder:/etc/docker#

docker 学习操作记录 1的更多相关文章

  1. docker 学习操作记录 5-2

    记录5-2 root@53d0a643a2c7:/# quit bash: quit: command not found root@53d0a643a2c7:/# exit exit -->@ ...

  2. docker 学习操作记录 5

    记录5 * Overheard at KubeCon: "microk8s.status just blew my mind". https://microk8s.io/docs/ ...

  3. docker 学习操作记录 5-1

    记录5-1 [BEGIN] // :: Connecting to ... Connection established. To escape to local shell, press Ctrl+A ...

  4. docker 学习操作记录 4

    记录3 [BEGIN] // :: Connecting to ... Connection established. To escape to local shell, press Ctrl+Alt ...

  5. docker 学习操作记录 2

    记录2 [BEGIN] // :: Connecting to ... Connection established. To escape to local shell, press Ctrl+Alt ...

  6. docker 学习操作记录 3

    记录3 [BEGIN] // :: Last :: from 192.168.114.1 root@coder:~# man addgroup ADDUSER() System Manager's M ...

  7. Docker学习要点记录

    Docker的架构和底层技术: 1.docker提供了一个开发,打包,运行app的平台2.把APP和底层infrastructure隔离开来 docker底层技术支持: 1>Namespaces ...

  8. Docker 学习之镜像导入导出及推送阿里云服务器(三)

    在前面两节里主要就是记录一些docker的基本的操作,包括搜索镜像,拉取镜像,根据镜像创建容器等等,在这一节主要就是记录Docker对于镜像文件的导入导出,及推送到阿里云再从阿里云获取镜像. 一.镜像 ...

  9. Docker学习(四): 操作容器

    特别声明: 博文主要是学习过程中的知识整理,以便之后的查阅回顾.部分内容来源于网络(如有摘录未标注请指出).内容如有差错,也欢迎指正! =============系列文章============= 1 ...

随机推荐

  1. MySQL 分库分表及其平滑扩容方案

    转自:https://kefeng.wang/2018/07/22/mysql-sharding/ 众所周知,数据库很容易成为应用系统的瓶颈.单机数据库的资源和处理能力有限,在高并发的分布式系统中,可 ...

  2. Android 一个TextView中设置多种不同大小的字体,设置超链接

    以前项目中要是遇到这样的UI设计,都是傻不拉唧的分为三个TextView来实现,今天在微信中无意中看了一篇公众号文章,发现原来只要一个TextView就可以搞定啦,人生最悲哀的事情莫过于工作了这么久啦 ...

  3. Lua 字符串查找函数 string.find(s, pattern [, init [, plain]] )【转】

    函数原型 string.find(s, pattern [, init [, plain]] ) s: 源字符串 pattern: 待搜索模式串 init: 可选, 起始位置 plain: 我没用过 ...

  4. Game Engine Architecture 13

    [Game Engine Architecture 13] 1.describe an arbitrary signal x[n] as a linear combination of unit im ...

  5. NLP学习(5)----attention/ self-attention/ seq2seq/ transformer

    目录: 1. 前提 2. attention (1)为什么使用attention (2)attention的定义以及四种相似度计算方式 (3)attention类型(scaled dot-produc ...

  6. 遍历php的_SERVER数组键值信息

    $_SERVER 是一个包含了诸如头信息(header).路径(path).以及脚本位置(script locations)等等信息的数组.这个数组中的项目由 Web 服务器创建.不能保证每个服务器都 ...

  7. Java精通并发-Condition方法实现分析与讲解

    在上两次已经对Condition这个类的javadoc进行了完整的解读,接下来则对它里面的方法进行一下纵览,并进行官方的解读,如下: 下面一一来读一下各个方法的说明: await(): 上面这段说明已 ...

  8. Mybatis JdbcType与Oracle、MySql数据类型对

    Mybatis JdbcType Oracle MySql JdbcType ARRAY     JdbcType BIGINT   BIGINT JdbcType BINARY     JdbcTy ...

  9. vue-router编程式跳转

    除了使用 <router-link> 创建 a 标签来定义导航链接,我们还可以借助 router 的实例方法,通过编写代码来实现. [语法] .

  10. mdk编译器学习笔记(1)——序

    这两天,学习了keil-mdk编译器的特性,这基本上独立于c语言语法,平时基本上都在强调c语言的学习,但是编译器的学习我们也要注重,类似于gcc一样,不也有很多网上的资料,讲述gcc的特性和用法吗.作 ...