Dockerインストール・Splashインストール

qiita.com

docs.docker.com

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates

sudo apt-key adv \
               --keyserver hkp://ha.pool.sks-keyservers.net:80 \
               --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list

sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual

sudo apt-get update
sudo apt-get install docker-engine

sudo service docker start
sudo docker run hello-world

sudo usermod -aG docker $USER

sudo systemctl enable docker

# アップデート

sudo apt-get update
sudo apt-get upgrade docker-engine

orangain.hatenablog.com

amacbee.hatenablog.com

docker pull scrapinghub/splash

# IP確認
ifconfig

pip install scrapy-splash

docker run -p 8050:8050 scrapinghub/splash

imabari.hateblo.jp