Skip to content

Instantly share code, notes, and snippets.

@meyt
Last active August 28, 2024 06:07
Show Gist options
  • Save meyt/252e0b2531e00614fcf873f31150acc2 to your computer and use it in GitHub Desktop.
Save meyt/252e0b2531e00614fcf873f31150acc2 to your computer and use it in GitHub Desktop.
Docker cheatsheet

Set proxy DNS sudo nano /etc/resolv.conf

# begzar
nameserver 185.55.226.26
nameserver 185.55.225.25

Install (on dev env)

curl -fsSL https://get.docker.com | sh

Configuration sudo nano /etc/docker/daemon.json

{ 
 "data-root": "/mnt/dockervar",
 "max-concurrent-uploads": 5,
 "max-concurrent-downloads": 5
}

then sudo systemctl restart docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment