deepin20.2.2安装docker

2021年8月2日 10:00 by wst

Deepin使用

Docker是个不错的工具,安装软件省时省力,前提是我们得有个docker,具体安装方法如下:

 

1. 安装依赖包

sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

2. 配置安装源

// 编辑 sudo vim /etc/apt/sources.list 
// 添加一行
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

3. 安装软件

sudo apt install docker-ce -y
# docker -V

4. 让普通用户也能运行 docker

sudo usermod -aG docker $USER

5. 更换国内的docker源

方式一:使用阿里云的docker加速器。

  1. 在阿里云申请一个账号

打开连接 https://cr.console.aliyun.com/#/accelerator 拷贝您的专属加速器地址。

  1. 修改 daemon 配置文件 /etc/docker/daemon.json 来使用加速器(下面是4个命令,分别单独执行)

Note: 这里的 https://jxus37ad.mirror.aliyuncs.com 是申请者的加速器地址,在此仅仅用于演示,而使用者要个根据自己的使用的情况填写自己申请的加速器地址。

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://jxus37ad.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

方式二:使用 docker-cn 提供的镜像源

  1. 编辑 /etc/docker/daemon.json 文件,并输入 docker-cn 镜像源地址
sudo nano /etc/docker/daemon.json

输入以下内容

{
  "registry-mirrors": ["https://registry.docker-cn.com"]
}
  1. 重启 docker 服务
sudo service docker restart

6.禁止开机启动

默认情况下 docker 是开机自启的,如果我们想禁用开机自启,可以通过安装 chkconfig 命令来管理 Deepin 自启项:

# 安装chkconfig
sudo apt-get install chkconfig

# 移除自启
sudo chkconfig --del docker

 

 


Comments(127) Add Your Comment

epgxhrmxvih
wbAFLJ <a href="http://tudpcstexgny.com/">tudpcstexgny</a>, [url=http://jctxgdtbndal.com/]jctxgdtbndal[/url], [link=http://zgmigshiejog.com/]zgmigshiejog[/link], http://chooawaiswjn.com/
carp little
经验证,执行第一步的1,2行和第三步也可以安装成功。 环境是: Distributor ID: Deepin Description: Deepin 20.6 Release: 20.6 Codename: apricot
Matawk
atorvastatin 80mg for sale <a href="https://lipiws.top/">atorvastatin 40mg ca</a> atorvastatin canada
Ckwpec
ciprofloxacin 1000mg sale - <a href="https://metroagyl.top/azithromycin/">order augmentin for sale</a> oral augmentin 625mg
Piteog
buy generic baycip over the counter - <a href="https://cipropro.top/augmentin500/">order augmentin 625mg online cheap</a> buy clavulanate sale
Kwbfvh
metronidazole drug - <a href="https://metroagyl.top/oxytetracycline/">oxytetracycline 250mg tablet</a> azithromycin 250mg for sale
Iyrcex
cheap ciplox - <a href="https:/septrim.top/">purchase ciprofloxacin generic</a> erythromycin 250mg brand
Gbarfc
valacyclovir 500mg without prescription - <a href="https://gnantiviralp.com/">valtrex over the counter</a> order acyclovir pills
Xqdmtg
stromectol otc - <a href="https://keflexin.top/amoxiclav/">purchase amoxiclav pills</a> buy generic tetracycline
Aspxfk
flagyl 400mg sale - <a href="https://metroagyl.top/cefaclor/">cefaclor 250mg over the counter</a> buy azithromycin pills
Wzstiz
acillin tablet <a href="https://ampiacil.top/penicillinused/">penicillin where to buy</a> amoxil for sale
Bwdgsu
furosemide 40mg uk - <a href="https://antipathogenc.com/medex/">buy generic medex online</a> capoten 120mg without prescription
Ncinap
order glycomet sale - <a href="https://gnantiacidity.com/combivir/">purchase epivir generic</a> buy lincomycin 500mg generic
Gbbzhu
order zidovudine - <a href="https://canadiangnp.com/rulide/">buy roxithromycin pills</a> buy zyloprim generic
Xrtmwy
generic clozaril 50mg - <a href="https://genonlinep.com/">order generic clozapine</a> pepcid 20mg uk
Qwilwm
cost quetiapine 100mg - <a href="https://gnkantdepres.com/geodon/">capsules geodon 80mg</a> buy eskalith for sale
Chdghz
buy clomipramine 25mg - <a href="https://antdeponline.com/paxil/">order paroxetine 10mg online</a> order doxepin 75mg generic
Tafprd
buy generic atarax 25mg - <a href="https://antdepls.com/buspar/">buy buspirone online</a> buy amitriptyline medication
Plrodz
order amoxil online - <a href="https://atbioxotc.com/cephalexin/">keflex 500mg drug</a> order cipro 1000mg
Lotzda
augmentin 625mg without prescription - <a href="https://atbioinfo.com/ethambutol/">myambutol sale</a> generic ciprofloxacin 500mg
Yritix
cleocin 300mg cheap - <a href="https://cadbiot.com/cefpodoxime/">buy cefpodoxime 200mg online cheap</a> order chloromycetin online
Enhufu
order zithromax 250mg for sale - <a href="https://gncatbp.com/aciprofloxacin/">buy ciprofloxacin 500 mg without prescription</a> ciprofloxacin buy online
Ysvtrc
order albuterol pill - <a href="https://antxallergic.com/advairdiskus/">order advair diskus generic</a> theophylline brand
Hxfonb
stromectol medication - <a href="https://antibpl.com/aqdapsone/">buy cheap generic aczone</a> buy cefaclor 500mg online
Wnetwu
cost clarinex - <a href="https://rxtallerg.com/ventolinpill/">where can i buy albuterol</a> buy generic albuterol 2mg
Tnybsy
methylprednisolone 4 mg tablets - <a href="https://ntallegpl.com/montelukast/">montelukast without prescription</a> buy azelastine generic
Clfsmu
glyburide 5mg drug - <a href="https://prodeprpl.com/">order micronase online cheap</a> order generic forxiga 10 mg
Swnjlw
buy prandin generic - <a href="https://depressinfo.com/">prandin 1mg uk</a> order jardiance online cheap
Jefikw
glucophage cheap - <a href="https://arxdepress.com/acarbose50/">precose price</a> buy precose paypal
Smnniu
lamisil 250mg pill - <a href="https://treatfungusx.com/adiflucanv/">diflucan medication</a> grifulvin v online order
Luznbk
order nizoral pills - <a href="https://antifungusrp.com/butenafinecream/">where can i buy butenafine</a> buy itraconazole 100 mg pill
Telilo
cheap famvir 250mg - <a href="https://amvinherpes.com/">famvir order online</a> buy valaciclovir 500mg without prescription
Bgvadv
order digoxin - <a href="https://blpressureok.com/furosemidediuret/">buy lasix 100mg sale</a> lasix us
Dabext
buy microzide generic - <a href="https://norvapril.com/">order hydrochlorothiazide 25mg generic</a> bisoprolol 10mg price
Rzppku
buy metoprolol 50mg - <a href="https://bloodpresspl.com/">buy lopressor paypal</a> adalat for sale online
Beumow
order nitroglycerin pill - <a href="https://nitroproxl.com/clonidinechlorthalidone/">order combipres online</a> order diovan online
Ukzeae
simvastatin visible - <a href="https://canescholest.com/">zocor shelter</a> atorvastatin evil
Gunwec
rosuvastatin involve - <a href="https://antcholesterol.com/">rosuvastatin pills company</a> caduet pills balloon
Zdoggd
viagra professional online gentleman - <a href="https://edsildps.com/viagragold/">buy viagra gold special</a> levitra oral jelly coach
Gumupa
priligy touch - <a href="https://promedprili.com/fildena/">fildena silent</a> cialis with dapoxetine ceremony
Fjvgoi
cenforce online jack - <a href="https://xcenforcem.com/">cenforce sweet</a> brand viagra thee
Laacte
brand cialis knowledge - <a href="https://probrandtad.com/apcalissx/">apcalis launch</a> penisole express
Qsdxik
cialis soft tabs price - <a href="https://supervalip.com/viagrasuperactive/">viagra super active online chamber</a> viagra oral jelly snatch
Wnncme
brand cialis gain - <a href="https://probrandtad.com/forzestpills/">forzest acknowledge</a> penisole date
Xpdkca
cialis soft tabs online tonight - <a href="https://supervalip.com/cialisoraljelly/">cialis oral jelly pills alarm</a> viagra oral jelly lane
Uyhswy
cenforce method - <a href="https://xcenforcem.com/cialistadalafil/">buy tadalafil online</a> brand viagra online boot
Xnddkx
priligy include - <a href="https://promedprili.com/suhagra/">suhagra counsel</a> cialis with dapoxetine soil
Gfdkhd
acne medication service - <a href="https://placnemedx.com/">acne treatment fearful</a> acne treatment draw
Phtbne
asthma medication snow - <a href="https://bsasthmaps.com/">asthma treatment tradition</a> inhalers for asthma desert
Vgpxkp
uti medication sweat - <a href="https://amenahealthp.com/">uti antibiotics icy</a> treatment for uti expose
Pqpoyn
prostatitis medications bargain - <a href="https://xprosttreat.com/">prostatitis medications affect</a> prostatitis treatment store
Opkqkk
valtrex online arrive - <a href="https://gnantiviralp.com/">valacyclovir cop</a> valtrex pills sacred
Lqhoty
loratadine private - <a href="https://clatadine.top/">claritin librarian</a> claritin ford
Paqmgw
loratadine once - <a href="https://clatadine.top/">loratadine helmet</a> claritin pills poke
Nlsbra
dapoxetine scene - <a href="https://prilixgn.top/">priligy perfect</a> priligy click
Xbupyr
promethazine silent - <a href="https://prohnrg.com/">promethazine plant</a> promethazine bark
Mwxspt
ascorbic acid threat - <a href="https://ascxacid.com/">ascorbic acid fling</a> ascorbic acid passage
Ptezkc
fludrocortisone pills pony - <a href="https://gastroplusp.com/prlansoprazole/">lansoprazole pills announce</a> prevacid commit
Wxwpmb
clarithromycin pills owl - <a href="https://gastropls.com/mesalaminepl/">asacol pills aspect</a> cytotec pills granny
Lpsmem
dulcolax cost - <a href="https://gastroinfop.com/loperamide/">imodium 2mg canada</a> order liv52 10mg generic
Karonl
rabeprazole 20mg pills - <a href="https://gastrointesl.com/reglanmetoclop/">order reglan without prescription</a> motilium order
Vgxebw
cotrimoxazole order - <a href="https://cotrioxazo.com/">bactrim 960mg ca</a> order generic tobra
Pnlqnq
buy hydroquinone generic - <a href="https://dupsteron.com/">buy generic duphaston</a> dydrogesterone 10mg without prescription
Odxacz
buy dapagliflozin online cheap - <a href="https://precarbos.com/">acarbose 50mg us</a> buy precose without prescription
Opamyz
buy fulvicin pills for sale - <a href="https://gemfilopi.com/">lopid for sale online</a> lopid 300mg uk
Ieaifc
buy vasotec without prescription - <a href="https://doxapisin.com/">buy doxazosin 1mg online</a> purchase latanoprost online cheap
Pgpsoi
order dramamine generic - <a href="https://bisacolax.com/">generic dimenhydrinate 50 mg</a> actonel 35 mg generic
Xtvlhb
piroxicam 20 mg tablet - <a href="https://rivastilons.com/">order rivastigmine 6mg online</a> exelon 6mg ca
Zxaszr
order generic etodolac - <a href="https://etodograph.com/">buy etodolac 600mg without prescription</a> brand cilostazol 100mg
Qhupva
buy hydrea generic - <a href="https://hydroydrinfo.com/indinavir/">generic crixivan</a> buy robaxin 500mg sale
Cikcue
generic depakote 250mg - <a href="https://adepamox.com/acetazolamide/">acetazolamide uk</a> brand topiramate 200mg
Udwijh
buy norpace online cheap - <a href="https://anorpica.com/lamivudine/">order epivir 100 mg sale</a> chlorpromazine brand
Cuxmiu
buy cyclophosphamide generic - <a href="https://cycloxalp.com/stavudine/">buy generic zerit over the counter</a> vastarel over the counter
Kxjhmw
order spironolactone for sale - <a href="https://aldantinep.com/dipyridamole/">purchase dipyridamole pill</a> buy revia 50mg generic
Kzwfas
flexeril brand - <a href="https://abflequine.com/enalapril/">enalapril 10mg uk</a> buy generic enalapril
Kvhzeq
zofran 8mg for sale - <a href="https://azofarininfo.com/selegiline/">selegiline for sale online</a> brand requip
Pxlfeh
order ascorbic acid 500mg generic - <a href="https://mdacidinfo.com/isosorbidedinitrate/">buy isordil cheap</a> buy prochlorperazine for sale
Ffksxy
buy durex gel - <a href="https://xalaplinfo.com/durexcondoms/">where can i order durex condoms</a> order xalatan generic
Brzguy
purchase rogaine for sale - <a href="https://hairlossmedinfo.com/">order generic rogaine</a> order propecia 1mg without prescription
Bqysmm
where to buy arava without a prescription - <a href="https://infohealthybones.com/cartidin/">buy cartidin without a prescription</a> buy cartidin generic
Mlaubm
how to buy tenormin - <a href="https://heartmedinfox.com/">buy tenormin 50mg for sale</a> coreg ca
Uwvvfx
atorlip oral - <a href="https://infoxheartmed.com/nebivolol/">brand nebivolol</a> bystolic 20mg generic
Yjdbxb
order gasex - <a href="https://herbalinfomez.com/">purchase gasex sale</a> buy diabecon online
Pfxrwl
lasuna pills - <a href="https://infoherbalmz.com/himcolin/">himcolin cheap</a> himcolin online buy
Rizqpq
speman pills - <a href="https://spmensht.com/himplasia/">generic himplasia</a> order finasteride without prescription
Axucth
buy noroxin no prescription - <a href="https://gmenshth.com/">norfloxacin sale</a> cheap generic confido
Ijsays
order finax online cheap - <a href="https://finmenura.com/">finax pill</a> purchase alfuzosin pills
Vltvub
buy terazosin - <a href="https://hymenmax.com/">hytrin pills</a> buy dapoxetine pill
Swkdzs
buy generic trileptal online - <a href="https://trileoxine.com/">oxcarbazepine 300mg over the counter</a> order synthroid for sale
Pmpzbe
lactulose online - <a href="https://duphalinfo.com/">buy duphalac</a> buy betahistine paypal
Qgebjc
purchase imusporin sale - <a href="https://asimusxate.com/methotrexate/">buy cheap generic methotrexate</a> purchase colcrys online cheap
Bplhgc
deflazacort buy online - <a href="https://lazacort.com/">buy calcort generic</a> alphagan eye drops
Jbqwhe
purchase besifloxacin - <a href="https://besifxcist.com/sildamax/">cheap sildamax generic</a> buy sildamax tablets
Ugruyc
order probalan online - <a href="https://bendoltol.com/monograph/">cost monograph</a> carbamazepine oral
Xcqgry
neurontin 800mg us - <a href="https://aneutrin.com/">cheap neurontin pill</a> azulfidine ca
Nxglul
colospa 135mg uk - <a href="https://coloxia.com/">mebeverine 135 mg uk</a> cilostazol 100 mg cost
Zikayv
celecoxib 200mg brand - <a href="https://celespas.com/flavoxate/">buy urispas generic</a> cost indocin 75mg
Hrkbuc
rumalaya online buy - <a href="https://rumaxtol.com/amitriptyline/">buy endep online</a> buy elavil 50mg online cheap
Ydmtjp
order cambia - <a href="https://dicloltarin.com/">buy diclofenac pills</a> buy generic aspirin over the counter
Gdckix
voveran generic - <a href="https://vovetosa.com/tisosorbide/">isosorbide oral</a> nimodipine over the counter
Pdakbr
order mestinon generic - <a href="https://mestonsx.com/azathioprine/">buy imuran 25mg generic</a> where can i buy imuran
Cwnnju
buy mobic 15mg sale - <a href="https://meloxiptan.com/">buy mobic 7.5mg</a> oral ketorolac
Ckfshv
ozobax uk - <a href="https://baclion.com/">baclofen 10mg pills</a> piroxicam 20mg without prescription
Pmriwe
trihexyphenidyl for sale - <a href="https://voltapll.com.com/">artane buy online</a> diclofenac gel online purchase
Kuqoch
cyproheptadine oral - <a href="https://periheptadn.com/">cyproheptadine cost</a> buy generic zanaflex online
Fpivnb
isotretinoin 40mg oral - <a href="https://aisotane.com/">order accutane generic</a> purchase deltasone generic
Lrqeny
omnicef 300mg cost - <a href="https://omnixcin.com/clindamycin/">cost clindamycin</a> order cleocin sale
Fbnumu
permethrin ca - <a href="https://actizacs.com/tretinoin/">cheap retin</a> retin gel generic
Lesjej
deltasone 40mg without prescription - <a href="https://apreplson.com/">oral prednisone 5mg</a> buy generic elimite
Vgnuie
metronidazole 200mg drug - <a href="https://ametronles.com/">metronidazole 400mg cheap</a> order cenforce 50mg online
Hturlc
betnovate 20 gm canada - <a href="https://betnoson.com/awdifferin/">differin over the counter</a> order benoquin without prescription
Pftnem
buy clindamycin online cheap - <a href="https://indometnp.com/">indomethacin 50mg pills</a> indocin sale
Eybjwy
buy augmentin 1000mg for sale - <a href="https://baugipro.com/">order augmentin 625mg sale</a> generic levothyroxine
Ftrwnz
order crotamiton cream - <a href="https://aeuracream.com/caczone/">buy cheap aczone</a> generic aczone
Ishkmy
buy losartan 25mg pills - <a href="https://acephacrsa.com/">buy generic cephalexin</a> buy keflex generic
Hjpkcl
purchase zyban for sale - <a href="https://bupropsl.com/">how to get bupropion without a prescription</a> buy generic shuddha guggulu over the counter
Vjjsqc
where to buy provigil without a prescription - <a href="https://sleepagil.com/">provigil us</a> buy meloset 3mg online
Kphafh
order progesterone 100mg sale - <a href="https://apromid.com/clomipheneferto/">purchase clomiphene online</a> buy fertomid generic
Aoekax
buy capecitabine 500 mg without prescription - <a href="https://xelocap.com/naproxen/">cost naprosyn 500mg</a> danocrine 100mg capsules
Ocjori
cheap norethindrone 5mg - <a href="https://norethgep.com/lumigan/">lumigan without prescription</a> order yasmin online cheap
Eiowxu
fosamax 70mg canada - <a href="https://pilaxmax.com/tamoxifen/">buy nolvadex 20mg without prescription</a> buy medroxyprogesterone 10mg generic
Hkphyx
cabergoline 0.25mg generic - <a href="https://adostilin.com/premarin/">buy premarin 0.625mg online cheap</a> buy alesse generic
Acaszb
order estradiol 2mg pill - <a href="https://festrolp.com/">oral estrace 1mg</a> arimidex 1mg tablet
Pqciwr
г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ«гЃ®йЈІгЃїж–№гЃЁеЉ№жћњ - <a href="https://jpedpharm.com/">г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ« - 50mg/100mg</a> г‚·г‚ўгѓЄг‚№ жµ·е¤–йЂљиІ©
Cjtjpn
プレドニン 値段 - <a href="https://jpaonlinep.com/jamoxicillin/">アモキシル処方</a> ジスロマック 市販 おすすめ
Oxpqxy
eriacta wonderful - <a href="https://eriagra.com/fforzestf/">forzest sprawl</a> forzest tumble
Mvywia
プレドニン 副作用 - <a href="https://jpanfarap.com/jpaaccutane/">アキュテイン どこで買える</a> イソトレチノインは薬局で買える?