aws-samples / aws-samples/amazon-sagemaker-local-mode

Docker daemon is not up after install in Sagemaker Studio - JupyterLab env for local training

Open
#50 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
263
Forks
69
PR merge metrics
No merged PRs in 30d

Description

I am trying to run Sagemaker Training in local mode and getting the following issue getting local docker working.

This is my env for my Jupyter Lab env in Sagemaker studio
```
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
```
When I execute the command in terminal:
```
systemctl status docker
```
I get the error that systemctl command not found

When i execute
```
docker version
```
i get the following output:
```
agemaker-user@default:~$ docker version
Client: Docker Engine - Community
Version: 20.10.24
API version: 1.41
Go version: go1.19.7
Git commit: 297e128
Built: Tue Apr 4 18:21:03 2023
OS/Arch: linux/amd64
Context: default
Experimental: true
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
```

Contributor guide

Open the contributing guide

Research direction

The report names no repository file, test, or entry point. Start by reproducing the environment checks with `systemctl status docker` and `docker version`, then determine whether the repository has guidance for Docker in SageMaker Studio. Done is not defined in the issue, so the expected resolution would need clarification or documentation of a supported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, jupyter-notebook
Domain
cloud, devops, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.