JackYumCha / QA

Question and Answer
0 stars 0 forks source link

Install Docker & ArangoDB #4

Open JackYumCha opened 6 years ago

JackYumCha commented 6 years ago

1) Update Package Manager sudo apt-get update 2) Allow curl to use Https sudo apt-get install apt-transport-https ca-certificates curl software-properties-common 3) Get Docker GPG Keys curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 4) Set up Docker Repo sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" 5) Install Docker CE sudo apt-get update sudo apt-get install docker-ce

6) All commands together: sudo apt-get update yes | sudo apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - yes | sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt-get update sudo apt-get install docker-ce

Install Arango sudo docker pull arangodb

Arango Docker sudo docker run -e ARANGO_ROOT_PASSWORD=mvsfhowr7042jhfsvhs9o024 -p 0.0.0.0:8848:8529 -d --name seekdb --restart unless-stopped -d -v /root/arango:/var/lib/arangodb3 library/arangodb

autumncame commented 6 years ago

Note: Docker CE doesn't support Ubuntu 18.04 right now.

JackYumCha commented 6 years ago

We didn't use Ubuntu 18.04 eventually. Please check the video carefully. Instead, we switched back to 16.04.