aws-samples / aws-samples/amazon-sagemaker-local-mode
sagemaker-ubuntu-focal-docker-cli-install.sh error
- Dominant language
- Python
- Stars
- 263
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
when we copy and run bash sagemaker-ubuntu-focal-docker-cli-install.sh , it failed with docker version.
Please modify the script to latest version of docker-ce* and then it worked.
error:
# VERSION_STRING=5:20.10.24~3-0~ubuntu-focal
root@default:~# apt-get install docker-ce-cli=$VERSION_STRING docker-compose-plugin -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package docker-ce-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
docker-buildx-plugin
E: Version '5:20.10.24~3-0~ubuntu-focal' for 'docker-ce-cli' was not found
Contributor guide
Research direction
Open sagemaker-ubuntu-focal-docker-cli-install.sh and inspect VERSION_STRING plus the apt-get install command. Run the script in an Ubuntu Focal environment to confirm the reported docker-ce-cli version failure; done means the script installs the current docker-ce CLI and docker-compose-plugin successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell, ubuntu
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100