本記事では Dockerを利用したデータ分析環境の構築 docker-composeでのpythonとpostgresqlの接続確認 を行っています imageについて postgresqlについては、公式のDockerイメージを利用しています。 anaconda環境は、自作のイメージをベースにしたDockerfileを作成しています。 FROM kyobad/anaconda3-alpine MAINTAINER K.Kato RUN conda install -y seaborn psycopg2 networkx\ && pip install chainer WORKDIR /root/notebook CMD ["/bin/sh", "-c", "jupyter notebook --no-browser --port=8888 --ip=0.0.0.0"] こちらは、anac
![Dockerで分析環境構築(jupyter notebook + PostgreSQL) - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/c62783e2a21671d88c389e23a1a918410427e8f2/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9RG9ja2VyJUUzJTgxJUE3JUU1JTg4JTg2JUU2JTlFJTkwJUU3JTkyJUIwJUU1JUEyJTgzJUU2JUE3JThCJUU3JUFGJTg5JTI4anVweXRlciUyMG5vdGVib29rJTIwJTJCJTIwUG9zdGdyZVNRTCUyOSZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnM9OWQ3ZjUyYWEyODViMWUwMGU3MjIwOWI3NTI1OGVlN2Y%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBrby1kYS1rJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz0wY2QzNzE4YzhkM2M0ZTY1Y2MyNmM3ODA2NzE4ZWU2Mg%26blend-x%3D142%26blend-y%3D436%26blend-mode%3Dnormal%26txt64%3DaW4g5qCq5byP5Lya56S-44Oq44Kv44Or44O844OI44Op44Kk44OV44K544K_44Kk44Or%26txt-width%3D770%26txt-clip%3Dend%252Cellipsis%26txt-color%3D%2523212121%26txt-font%3DHiragino%2520Sans%2520W6%26txt-size%3D36%26txt-x%3D156%26txt-y%3D536%26s%3D561345dfe0993de32a5125968ccb1468)