Skip to content

Instantly share code, notes, and snippets.

@ikeyasu
Last active February 12, 2019 06:03
Show Gist options
  • Save ikeyasu/71a4b07ce6ecc7465c4e984ac5f5c855 to your computer and use it in GitHub Desktop.
Save ikeyasu/71a4b07ce6ecc7465c4e984ac5f5c855 to your computer and use it in GitHub Desktop.
Build custom sagemaker-rl-chainerrl
  1. $ git clone https://github.com/ikeyasu/sagemaker-rl-container.git
  2. Create ECR repository named sagemaker-rl-chainerrl and copy your repository name like xxxx.dkr.ecr.ap-northeast-1.amazonaws.com/sagemaker-rl-chainer.
  3. $ cd sagemaker-rl-container
  4. $ docker build -t sagemaker-rl-chainer:chainerrl0.5.0-cpu-py3 -f chainerrl/docker/0.5.0/Dockerfile --build-arg processor=cpu .
  5. $ docker tag sagemaker-rl-chainer:chainerrl0.5.0-cpu-py3 xxxx.dkr.ecr.ap-northeast-1.amazonaws.com/sagemaker-rl-chainer:chainerrl0.5.0-cpu-py3
    • Please relace to your repository name
  6. $ docker push sagemaker-rl-chainer:chainerrl0.5.0-cpu-py3 xxxx.dkr.ecr.ap-northeast-1.amazonaws.com/sagemaker-rl-chainer:chainerrl0.5.0-cpu-py3

Note that you need to log-in to push ECR. Please refer to AWS document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment