Docker + Windows 10

I try work with docker on Windows 10 and I have 2 problems.

First:

  • How to set-up Mongo replica set on Kubernetes?
  • Why does a 'docker push' to repository leads to multiple pushes of images
  • PyMongo - UserNotFound: Could not find user authenticated@admin
  • ElasticBeanstalk MultiContainer docker with nginx
  • Docker container on Marathon doesn't finish
  • What is the difference between save and export in Docker?
  • if i try do
    Dockerfile

    FROM nginx
    
    MAINTAINER Nikita rassamakhin "nrj.tomsk@gmail.com"
    
    COPY /nginx-conf/nginx.conf /etc/nginx/nginx.conf
    COPY /nginx-conf/vhost.conf /etc/nginx/sites-available/default
    
    RUN mkdir -p /var/www/
    RUN chown -R www-data:www-data /var/www/
    RUN chmod -R 755 /var/www/
    

    and this docker-compose

    fpm:
        container_name: php7
        image: php:7.0.2-fpm
        ports:
            - "9000:9000"
        links:
            - mysql
    nginx:
        container_name: nginx
        build: .
        restart: always
        ports:
            - "80:80"
            - "443:443"
        links:
            - fpm
    
    mysql:
        container_name: mysql
        image: mysql
        environment:
            MYSQL_ROOT_PASSWORD: root
    

    i have 403 error on try open localhost.
    if i try add app section in docker compose like this

    app:
        container_name: app
        image: ubuntu:trusty
        volumes:
            - www/:/var/www
    fpm:
        container_name: php7
        image: php:7.0.2-fpm
        working_dir: "/var/www"
        ports:
            - "9000:9000"
        links:
            - mysql
        volumes_from:
            - app
    nginx:
        container_name: nginx
        build: .
        restart: always
        ports:
            - "80:80"
            - "443:443"
        links:
            - fpm
        volumes_from:
            - fpm
    
    mysql:
        container_name: mysql
        image: mysql
        environment:
            MYSQL_ROOT_PASSWORD: root
    

    app conteiner start and exit with code 0, without logs about error.

    How i can fix this? What i doing wrong?

  • How can I use the base image to create my own without the dependency?
  • SbtNativePackager “No EXPOSE directive found in Dockerfile”
  • Docker load command replaces existing images with same name
  • docker pull/push not working with insecure registry
  • Using docker and hosts file
  • How to specify IP of docker container in Marathon?
  • One Solution collect form web for “Docker + Windows 10”

    app conteiner start and exit with code 0, without logs about error.

    You need to set a command or entrypoint for the app container. The default is probably bash which exits immediately. Exit code 0 means “exited with no error”.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.