I am creating and starting a container using the Dockerfile and docker-compose.yml files I provided below. My goal is to use Jupyter Notebook on Docker containers. However, when I open the notebook in my browser, it opens in "read-only" mode, which means that any changes I make are not being saved.
Dockerfile
FROM jupyter/tensorflow-notebook
WORKDIR /app
COPY ./notebooks ./notebooks
RUN chmod -R 777 /app
docker-compose.yml
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: tensorf-notebook
volumes:
- .:/app
ports:
- "8888:8888"
read_only: false
command: jupyter notebook --allow-root --ip=0.0.0.0 --port=8888 --NotebookApp.password='sha1:...'
h ttp://localhost:8888/notebooks/notebooks/app.ipynb: