Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicongst/install_docker
Install docker and Docker compose
https://github.com/chicongst/install_docker
Last synced: about 2 months ago
JSON representation
Install docker and Docker compose
- Host: GitHub
- URL: https://github.com/chicongst/install_docker
- Owner: chicongst
- Created: 2021-09-29T04:21:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-29T04:23:08.000Z (over 3 years ago)
- Last Synced: 2023-11-27T15:37:22.146Z (about 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install Docker
```
sudo apt-get update
sudo apt-get install curl
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
```
```
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
```
```
sudo service docker start
```# Install Docker Compose
```
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
```
```
docker-compose --version
```