CentOS
# (optional) remove old
sudo yum remove -y docker \
docker-ce-cli \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
# Docker
sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce
sudo systemctl start docker
sudo systemctl enable docker # start docker at boot up
# (optional) Verify
sudo docker run hello-world
Install docker-compose
# Dcoker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# (optional) Verify
docker-compose --version
Advenced
# Move fat docker to other folder with symlink - Linux (bash)
sudo systemctl stop docker
sudo mv /var/lib/docker /data/.
sudo ln -s /data/docker /var/lib/docker
sudo systemctl start docker
# Move fat docker to other folder with symlink - Windows (Powershell)
move C:\ProgramData\docker\* D:\ProgramData\docker
cmd /c mklink /d C:\ProgramData\docker D:\ProgramData\docker
# Add default Log rotation
sudo bash -c 'cat >> /etc/docker/daemon.json' << EOF
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "512"
}
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
# Execute docker without sudo
sudo groupadd docker
sudo usermod -aG docker $USER
#> Re-login to apply
# Show other docker version
yum list docker-ce --showduplicates | sort -r
# Restart
## daemon
sudo systemctl daemon-reload
## docker service
sudo systemctl restart docker.service
## docker
sudo systemctl restart docker
# Remove stuff
docker container prune # Remove all stopped containers
docker volume prune # Remove all unused volumes
docker image prune # Remove unused images
docker system prune # All of the above, in this order: containers, volumes, images
docker ps -a -q | % { docker rm $_ } # Remove container with PowerShell
docker rm $(docker ps -a -q) # Remove container with Bash
docker volume rm $(docker volume ls -f dangling=true -q)
# (optional) Remove old
sudo apt-get remove -y docker-ce docker-ce-cli docker docker-engine docker.io containerd runc
# Setting up
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
## (optional) Verify fingerprint
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
# Install latest
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
## (optional) Install other version. PS."18.09 no need to install docker-ce-cli"
apt-cache madison docker-ce
sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
# (optional) Verify
sudo docker run hello-world
It is the best time to make some plans for the future and it is time to be happy.
I have read this post and if I could I want to suggest you few interesting things or tips.
Perhaps you can write next articles referring to this article.
I want to read even more things about it!
I’m really enjoying the design and layout of your site.
It’s a very easy on the eyes which makes it much more enjoyable
for me to come here and visit more often. Did you hire out a developer
to create your theme? Fantastic work!
Hi there, all is going well here and ofcourse every one is sharing facts, that’s
actually good, keep up writing.
Thank you a bunch for sharing this with all of us you actually recognize what you are talking approximately!
Bookmarked. Please also consult with my web site =).
We could have a hyperlink exchange agreement between us
It’s very easy to find out any topic on web as compared to textbooks,
as I found this post at this web page.
It’s wonderful that you are getting thoughts from this article as well as from our argument made at this place.
Thanks for the marvelous posting! I quite enjoyed reading it, you can be a great author.
I will make sure to bookmark your blog and will often come back from now on. I want to encourage one to continue your great
job, have a nice holiday weekend!
I am in fact thankful to the owner of this site who
has shared this enormous piece of writing at at this time.
I know this if off topic but I’m looking into starting my own weblog and was curious what all is
needed to get setup? I’m assuming having a blog like yours
would cost a pretty penny? I’m not very internet smart
so I’m not 100% sure. Any suggestions or advice would be greatly appreciated.
Cheers
What’s up, all the time i used to check webpage posts here in the
early hours in the morning, since i enjoy to find out more and more.
I’m really loving the theme/design of your site. Do you ever run into any
browser compatibility problems? A few of my blog readers have complained about my blog not
operating correctly in Explorer but looks great in Opera.
Do you have any solutions to help fix this issue?
I simply could not leave your web site before suggesting
that I extremely enjoyed the usual info an individual provide to your visitors?
Is gonna be again steadily in order to check up on new posts
What’s up to every one, as I am in fact eager of reading this blog’s post to be updated daily.
It consists of good information.
What’s up friends, its impressive post concerning educationand
entirely explained, keep it up all the time.
I think the admin of this web site is genuinely working hard for
his website, for the reason that here every material is quality based data.
Great article.
Aw, this was an exceptionally good post. Taking the time and actual effort to produce a top notch article… but what can I say… I put things off a lot and don’t seem to get anything done.
I love it when individuals come together and share views.
Great blog, stick with it!
What i don’t realize is in fact how you are not actually much more well-appreciated than you may be now.
You’re so intelligent. You already know thus significantly relating to this subject, made me
in my view consider it from numerous varied angles.
Its like men and women are not fascinated unless it’s one
thing to do with Lady gaga! Your personal stuffs excellent.
All the time take care of it up!
Hey just wanted to give you a quick heads up. The words in your post seem to be running off
the screen in Ie. I’m not sure if this is a formatting issue or something to do with web browser compatibility but I figured I’d post to let you
know. The layout look great though! Hope you get the issue resolved soon. Cheers
I really like what you guys tend to be up too.
This type of clever work and reporting! Keep up the superb works guys I’ve added you guys to my personal
blogroll.
I have been surfing online more than 4 hours today,
yet I never found any interesting article like yours.
It is pretty worth enough for me. Personally, if all site owners
and bloggers made good content as you did, the net will be much more useful than ever before.
Hello, i feel that i saw you visited my weblog thus i came to go back the choose?.I’m attempting
to in finding things to enhance my website!I assume its ok to use some of your concepts!!
neurontin 300 mg for nerve pain
what are the side effects of taking plaquenil?
zithromax pills
ou trouver du viagra
order cialis online
Cialis Farmacia Acquisto
buy viagra cialis levitra
azithromycin vs amoxicillin
viagra propiedades
Viagra Battute
Viagra A Change Ma Vie
kamagra ajanta pharma limited vendo kamagra bilbao kamagra dangerous
prix levitra en suisse Numerous collections of blisters c.
Cialis 5 Mg Precio Farmacia Prednisone
Viagra Disfuncion Erectil Vbowct Plaquenil
sildenafil blood pressure medication is sildenafil as good as viagra
free sildenafil samples sildenafil citrate 20 mg tablet
viagra vs tadalafil cialis tadalafil reviews
ivermectin cream 1 ivermectin 20 mg
purchase ivermectin stromectol 3 mg dosage
stromectol oral stromectol 15 mg
buy stromectol pills stromectol price in india
ivermectin india ivermectin 3mg dosage
stromectol medication ivermectin 0.5
ivermectin 12 cost of ivermectin medicine
stromectol 3mg ivermectin 1
stromectol 15 mg stromectol online pharmacy
ivermectin 0.08% stromectol generic
stromectol 3mg tablets stromectol ireland
c-tadalafil cialis free samples
sildenafil citrate side effects sildenafil online usa
order stromectol online ivermectin 50mg/ml
stromectol 0.1 stromectol ivermectin buy
stromectol liquid ivermectin india
tadalafil sunrise buy tadalafil powder
cialis online tadalafil 20mg
maxifort sildenafil how to make sildenafil citrate
sildenafil, tadalafil and avanafil rui tadalafil
buy viagra cheap viagra online
best pharmacy prices for viagra sildenafil 100 canada
online pharmacy 365 fry pharmacy lambert and la canada
contrave online pharmacy reddit canadian pharmacy
cialis price at walmart cialis 30 mg dose
the best online pharmacy top canada drugs review
rite aid pharmacy store walgreens specialty pharmacy
30 mg sildenafil viagra usa
levitra for premature ejaculation levitra vs viagra comparison
buy cialis cialis pre
how to take ivermectin for scabies stromectol ivermectin
how to buy viagra in india buy viagra europe
ivermectin dose for head lice ivermectin for covid
tadalafil 20mg dosage discount tadalafil 20mg
fda approved canadian online pharmacies online pharmacy degree
buy brand name viagra online sildenafil citrate tablets vs viagra
levitra on line sales purchase levitra
pharmacy online canadian pharmacy online
buy cialis via pay pal pictures of cialis
does 20mg cialis work purchase cialis
differences entre viagra cialis levitra can you buy levitra over the counter
medical pharmacies texas online pharmacy
pharmacy technician jobs in canada fda approved online pharmacy
canada pharmacy 24h canadadrugs pharmacy
ketamine online pharmacy Tadalis SX
canadian pharmacy without prescriptions most commonly abused prescription drugs
I know this if off topic but I’m looking into starting my own blog and was wondering what all
is needed to get set up? I’m assuming having a blog
like yours would cost a pretty penny? I’m not very internet smart so I’m not 100% sure.
Any tips or advice would be greatly appreciated. Kudos
Link exchange is nothing else however it is simply placing
the other person’s web site link on your page at suitable place and other person will also do same in favor of
you.
best drug store mascara direct rx pharmacy
Good answers in return of this issue with genuine
arguments and explaining everything on the topic of that.
For hottest news you have to go to see internet and on the
web I found this website as a finest web page for hottest
updates.
You made some decent points there. I looked on the net for additional information about the issue and found most people will go along with your views on this web
site.
Hi there just wanted to give you a quick heads up.
The words in your post seem to be running off the screen in Internet explorer.
I’m not sure if this is a format issue or something to do with
web browser compatibility but I thought I’d post to let
you know. The style and design look great though!
Hope you get the problem solved soon. Thanks
Excellent beat ! I would like to apprentice while you amend your website,
how could i subscribe for a blog website? The account
helped me a acceptable deal. I had been tiny bit
acquainted of this your broadcast provided bright clear concept
canadian valley pharmacy azithromycin canada pharmacy
pharmacy montreal canada ed medication
Pg สล็อต เว็บตรง ทาง เข้า เล่น เล่น พีจีสล็อต ที่ครอบครองใจคนทั่วทั้งประเทศสูงที่สุด เพราะว่ามีเกมออนไลน์จากค่ายชั้นหนึ่งมากมายก่ายกอง ให้เลือกเล่นพนันบนเว็บไซต์ไซต์