Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Files

Latest commit

 

History

History
37 lines (24 loc) · 1.07 KB

docker.md

File metadata and controls

37 lines (24 loc) · 1.07 KB

Docker

Docker Installation

This is the recommended way to run the VFrame Search application. Docker is available from www.docker.com.

# Install docker-compose
pip install docker-compose

# Start Docker
docker-compose up

# Stop Docker
docker-compose down

# List running Docker containers
docker ps

# Get a shell on the running Docker
docker run -i -t --network vframe_search_dev --entrypoint /bin/bash vframe_search_api

# Remove inactive docker instances
docker system prune

Once Docker is running, please follow steps 2-4 from (README.md)[../README.md].

Errata

Could not resolve 'archive.ubuntu.com' can be fixed by making the following changes:

  • Uncomment the following line in /etc/default/docker DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
  • Restart the Docker service sudo service docker restart
  • Delete any images which have cached the invalid DNS settings. Build again and the problem should be solved.
  • Credit Andrew SB