1

I'm trying to test docker container runtime on a aws bottlerocketOS instance. The instance is created on ec2. Instance userdata has docker service enabled as mentioned here. After enabling host-container.admin and ssh into the server, docker seem to not exist. Also as per docs there is support for docker service. I guess i'm missing something, really appreciate your time in here.

user1877775
  • 201
  • 1
  • 2
  • 4
  • What do you mean by 'not exist'? Where have you looked and what were you looking for? Is the service running (`systemctl status docker`)? – anemyte Jan 09 '21 at 21:38
  • bottle rocket comes with containerd, not docker. The output of the above docker status command is `Failed to get D-Bus connection: Operation not permitted`. As a root user i get:`Running in chroot, ignoring request` – user1877775 Jan 11 '21 at 14:59
  • Have you tried executing `sheltie` to get out of admin container to actual host? – anemyte Jan 11 '21 at 15:14
  • yeah, it says `failed to start docker.service` – user1877775 Jan 11 '21 at 15:24
  • the problem is I have manually added docker to the host and trying to bring it up. complains about unit file docker.service does not exist. – user1877775 Jan 11 '21 at 17:18

0 Answers0