Skip to content

Instantly share code, notes, and snippets.

@ogiovannyoliveira
Last active April 6, 2021 12:03
Show Gist options
  • Save ogiovannyoliveira/f168eeae5d7a9c33cffe1ef89888c15d to your computer and use it in GitHub Desktop.
Save ogiovannyoliveira/f168eeae5d7a9c33cffe1ef89888c15d to your computer and use it in GitHub Desktop.
Basic configuration to Linux Server, only with docker, user with access to docker and updated packages

Update packages

apt-get update

Upgrade packages

apt-get upgrade

Add new user in system

adduser <user>

Add the new user in sudoers group

usermod -aG root <user>

Follow the link to install Docker

Follow the link to install Docker Compose

After instalattion...

Add permission to the new user in docker group

usermod -aG docker <user>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment