how to stop docker automatically launch jupyter notebooks

William Lai

When I try to run a docker container as below:

docker run tensorflow/tensorflow:1.11.0-py3

It always launch jupyter notebook and shows messages as below:

[I 06:39:47.738 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 06:39:47.754 NotebookApp] Serving notebooks from local directory: /notebooks
[I 06:39:47.754 NotebookApp] The Jupyter Notebook is running at:
[I 06:39:47.754 NotebookApp] http://(9174ca4d537a or 127.0.0.1):8888/?token=5a7031a41c376d89a08583ada6a7c4a8669b667967a5a90e
[I 06:39:47.754 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 06:39:47.754 NotebookApp]

    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://(9174ca4d537a or 127.0.0.1):8888/?token=5a7031a41c376d89a08583ada6a7c4a8669b667967a5a90e

But I don't want to launch jupyter noteook automatically. I've tried to remove jupyter but no lucks. How do I stop jupyter running or how do I completely remove jupyter notebook? Thanks.

Razvan I.
https://hub.docker.com/layers/tensorflow/tensorflow/1.11.0-py3/images/sha256-7f147470ab6f94f52a1a1ef6211ce6ae645ed863f493b6cad16d428fbaed898b

You need to modify the image or try another tag of tensorflow/tensorflow that not uses jupyter notebooks. You can find here all the options of tags for tensorflow:

 https://hub.docker.com/r/tensorflow/tensorflow/tags

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Persistent Jupyter Notebooks and Docker?

Automatically display assignments in Jupyter Notebooks

Notebooks not persistent for Jupyter in Docker container?

How to stop docker container automatically?

How to launch my docker container automatically on ECS?

How To Set Sources For Jupyter Notebooks

Stop Matplotlib Jupyter notebooks from showing plot with animation

Docker - how to automatically POST a request on a REST container after launch?

How to !rm python_var (in Jupyter notebooks)

How to interpret .py files as jupyter notebooks

How to save Jupyter notebooks from GitHub

How to install module in Jupyter Notebooks for iPython

How to wrap code/text in Jupyter notebooks

How to use Jupyter notebooks in a conda environment?

How to programmatically generate markdown output in Jupyter notebooks?

How to open .ipynb pages as normal jupyter notebooks

How to convert Jupyter/IPython notebooks to LaTex?

How to test Jupyter notebooks on Travis CI?

How to have interactivity of Jupyter Notebooks online?

How to use Github Package in Jupyter Notebooks

How to Travis CI and Jupyter Notebooks through Nbsphinx

access data using docker jupyter notebooks with gpu support on google cloud

After installing jupyter themes, notebooks and docker container no longer working

How to automatically launch SWRevealViewController view

How to launch the terminal automatically on startup?

How to remove password for Jupyter Notebooks and set token again

How can I share Jupyter notebooks with non-programmers?

How can I configure indentation size in my Jupyter notebooks?

How to disable Enter key autocomplete for Jupyter notebooks in Visual Studio Code