|
199 | 199 | "\n", |
200 | 200 | "\n", |
201 | 201 | "On Amazon Linux v1 (ALv1) notebook:\n", |
202 | | - "---------------------------\n", |
| 202 | + "-----------------------------------\n", |
203 | 203 | "SageMaker Python SDK version : 2.54.0\n", |
204 | 204 | "Python version : 3.6.13 | packaged by conda-forge | (default, Feb 19 2021, 05:36:01) \n", |
205 | 205 | "[GCC 9.3.0]\n", |
|
210 | 210 | "\n", |
211 | 211 | "\n", |
212 | 212 | "On Amazon Linux v2 (ALv2) notebook:\n", |
213 | | - "---------------------------\n", |
214 | | - "SageMaker Python SDK version : 2.54.0\n", |
| 213 | + "-----------------------------------\n", |
| 214 | + "SageMaker Python SDK version : 2.59.1\n", |
215 | 215 | "Python version : 3.6.13 | packaged by conda-forge | (default, Feb 19 2021, 05:36:01) \n", |
216 | 216 | "[GCC 9.3.0]\n", |
217 | | - "Boto3 version : 1.18.27\n", |
| 217 | + "Boto3 version : 1.18.36\n", |
218 | 218 | "XGBoost Python module version : 1.4.2\n", |
219 | | - "AWS CLI version : aws-cli/1.20.21 Python/3.6.13 Linux/4.14.238-125.422.amzn1.x86_64 botocore/1.21.27\n", |
220 | | - "Docker version : 20.10.4, build d3cb89e\n", |
| 219 | + "AWS CLI version : aws-cli/1.20.24 Python/3.6.13 Linux/4.14.243-185.433.amzn2.x86_64 botocore/1.21.36\n", |
| 220 | + "Docker version : 20.10.7, build f0df350\n", |
221 | 221 | "Amazon ECR Docker Credential Helper : 0.6.3\n", |
222 | 222 | "\n", |
223 | 223 | "\"\"\"\n", |
|
271 | 271 | "!docker --version\n", |
272 | 272 | "\n", |
273 | 273 | "# Install docker\n", |
274 | | - "#!sudo yum install docker" |
| 274 | + "#!sudo yum --assumeyes install docker" |
275 | 275 | ] |
276 | 276 | }, |
277 | 277 | { |
|
303 | 303 | "!curl --version\n", |
304 | 304 | "\n", |
305 | 305 | "# Install curl\n", |
306 | | - "#!sudo yum install curl" |
| 306 | + "#!sudo yum --assumeyes install curl" |
307 | 307 | ] |
308 | 308 | }, |
309 | 309 | { |
|
329 | 329 | " # Verify installation\n", |
330 | 330 | " print('Amazon ECR Docker Credential Helper version : ')\n", |
331 | 331 | " !docker-credential-ecr-login version\n", |
| 332 | + " # Create the .docker directory if it doesn't exist\n", |
| 333 | + " !mkdir -p ~/.docker\n", |
332 | 334 | " # Configure\n", |
333 | 335 | " !printf \"{\\\\n\\\\t\\\"credsStore\\\": \\\"ecr-login\\\"\\\\n}\" > ~/.docker/config.json\n", |
334 | 336 | " # Verify configuration\n", |
|
0 commit comments