1. 把現有的images 存成 tar 格式
# docker save -o hello_world_nginx.tar hello_world_nginx

helloworld 發表在 痞客邦 留言(0) 人氣()

image
1. 建立 container

# docker create --name nginx_base -p 80:80 nginx:alpine
Unable to find image 'nginx:alpine' locally
alpine: Pulling from library/nginx
63b65145d645: Pull complete
8c7e1fd96380: Pull complete
86c5246c96db: Pull complete
b874033c43fb: Pull complete
dbe1551bd73f: Pull complete
0d4f6b3f3de6: Pull complete
2a41f256c40f: Pull complete
Digest: sha256:6318314189b40e73145a48060bff4783a116c34cc7241532d0d94198fb2c9629
Status: Downloaded newer image for nginx:alpine
3763eb9740e98479000e6daba1e62240ada2251915454f377227f6c4c74ebcd2

helloworld 發表在 痞客邦 留言(0) 人氣()

$ sudo apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
Err:1 http://dl.google.com/linux/chrome/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B

helloworld 發表在 痞客邦 留言(0) 人氣()

指令
rsync --list-only -e ssh backup@rsync-server::web/

helloworld 發表在 痞客邦 留言(0) 人氣()

首先建立 recive 端到來源端的 passwordless ssh 登入

rsync server
建立 backup 使用者

helloworld 發表在 痞客邦 留言(0) 人氣()

顯示網路卡
# dladm

helloworld 發表在 痞客邦 留言(0) 人氣()

痞客邦的seo 不知道怎麼了,決定跳槽到 blogger 試試
https://hihiworld.blogspot.com/

helloworld 發表在 痞客邦 留言(0) 人氣()

檔案結構如下
-rw-r--r--   1 777      777            4 Jan 19 11:50 555.txt
lrwxrwxrwx   1 666      666            7 Feb 16 09:41 555.txt.lnk -> 555.txt

helloworld 發表在 痞客邦 留言(0) 人氣()

方法一:
到 https://www.cpan.org/ 搜尋要安裝的 module

helloworld 發表在 痞客邦 留言(0) 人氣()

showmount: command not found
root@debian:~# apt-cache search showmount
nfs-common - NFS support files common to client and server

helloworld 發表在 痞客邦 留言(0) 人氣()

image
編輯設定 > 虛擬硬體 > CPU > 硬體虛擬化 > 勾選向客體作業系統公開硬體協助虛擬化

helloworld 發表在 痞客邦 留言(0) 人氣()

image
兩個方法
1. 編輯設定 > 虛擬機選項 > 開機延遲 > 填入秒數 > 在開機畫面時按 F2 進入 BIOS
2. 編輯設定 > 虛擬機選項 > 強制執行BIOS設定 > 勾選在虛擬機器下次開機時,強制進入 BIOS 設定畫面 (只會生效一次)

helloworld 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。