Skip to content

Commit 43b66de

Browse files
committed
IT-4364: give Jupypter notebook user sudo access within container
1 parent 4e87355 commit 43b66de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/ec2/sc-ec2-linux-docker-notebook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Resources:
342342
# https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#docker-options
343343
# to give user 'sudo' ability inside the notebook, add the env var
344344
# 'GRANT_SUDO=yes' and run the container as 'root'
345-
-e GRANT_SUDO=yes --user root\
345+
-e GRANT_SUDO=yes --user root \
346346
-v ${WORK_VOLUME_NAME}:${JUPYTER_WORK_DIR} \
347347
--network ${NETWORK_NAME} ${DOCKER_IMAGE} \
348348
bash -c "start-notebook.py --IdentityProvider.token='' --NotebookApp.base_url=/${EC2_INSTANCE_ID} \

0 commit comments

Comments
 (0)