waleedka / modern-deep-learning-docker

Modern Deep Learning Docker Image
MIT License
153 stars 55 forks source link

Using with docker-compose for simplification #10

Open aandrushchenko opened 5 years ago

aandrushchenko commented 5 years ago

If you like using docker-compose, you can add following file to the root of your project:

docker-compose.yml

version: "3"
services:
  mdl:
    image: waleedka/modern-deep-learning
    container_name: modern-ml
    volumes:
      - ./:/host
    ports:
      - "8888:8888"
      - "6006:6006"

Mind that project root will be mapped into /host folder instead of entire home dir.

To log into container use: docker-compose run mdl