Last active
December 16, 2017 10:58
-
-
Save nansystem/181a4d06f87aebe5aa7e405871297ed2 to your computer and use it in GitHub Desktop.
prerequisites docker-scraping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/akirakoyasu/docker-scraping | |
| docker-compose run --rm scraping app/scraping/by_chromedriver.py | |
| -- Prerequisites | |
| -- install docker in ubuntu14.04 | |
| -- https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#supported-storage-drivers | |
| -- https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-docker-ce | |
| -- You can install Docker CE in different ways, depending on your needs: | |
| -- Most users set up Docker’s repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach. | |
| -- 1.SET UP THE REPOSITORY | |
| sudo apt-get update | |
| sudo apt-get install \ | |
| linux-image-extra-$(uname -r) \ | |
| linux-image-extra-virtual | |
| 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 - | |
| sudo add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| -- 2.INSTALL DOCKER CE | |
| sudo apt-get update | |
| sudo apt-get install docker-ce | |
| sudo docker run hello-world | |
| -- Install Compose on Linux systems | |
| sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| docker-compose --version | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment