We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0febd3a commit 4ffcb63Copy full SHA for 4ffcb63
advanced_functionality/scikit_bring_your_own/container/build_and_push.sh
@@ -43,6 +43,13 @@ $(aws ecr get-login --region ${region} --no-include-email)
43
44
# Build the docker image locally with the image name and then push it to ECR
45
# with the full name.
46
+
47
+# On a SageMaker Notebook Instance, the docker daemon may need to be restarted in order
48
+# to detect your network configuration correctly. (This is a known issue.)
49
+if [ -d "/home/ec2-user/SageMaker" ]; then
50
+ sudo service docker restart
51
+fi
52
53
docker build -t ${image} .
54
docker tag ${image} ${fullname}
55
0 commit comments