EC2 docker issue on cloud 9

109 views Asked by At

I'm getting two sets of different docker images. One set when I ssh into my ec2 instance and one in my cloud9 environment. Does anyone have any idea why this could be happening? I basically need one of the images I created in docker to send to ec2

Docker images after I ssh into ec2 instance

Docker images in my cloud9 environment that I'm attempting to upload to EC2

I'm attempting to run this command in my ec2 instance but get an error that the image is not being found...

  1. Run the following command:
docker run --rm \
    -it --name db-setup\
    <aws-account-id>.dkr.ecr.<aws-region>.amazonaws.com/<repo-or-image-name>:<version-tag> \
    bundle exec rake db:drop db:create db:migrate
0

There are 0 answers