docker-archive/docker-snap

Testing on amd64

Closed this issue · 0 comments

psftw commented

Goal: setup environments for automated testing of the docker snap on amd64. Both Ubuntu 16.04 and Ubuntu Core 16 are in scope to start with.

While Ubuntu 16.04 is straight-forward to setup for testing purposes in AWS, Ubuntu Core 16 will require some additional work. It appears that Ubuntu Core AWS cloud images were deprecated prior to the Ubuntu Core 16 launch and it is unclear what the path forward is for this use case. Are people running Ubuntu Core 16 in AWS?

It's possible to run Core 16 in a VM using the official cloud image, which is what I am doing today to test with locally. In this mode, as far as I can tell, the vanilla Ubuntu Core 16 image is not configurable at first boot and requires an initial manual setup process.

I failed to get the Ubuntu Core 16 cloud image to use cloud-init, and documentation led me to believe that it was an opt-in feature for custom Core images (https://docs.ubuntu.com/core/en/guides/build-device/image-building). The custom image build process may enable us to generate a cloud-init capable VM image, but porting it to an AMI is a less clear path. This particular use case is relevant because it is possible to modify users and groups through cloud-init, which would have an impact on some of the existing Core-specific quirks.

[x] Ubuntu 16.04 on AWS
[x] Ubuntu Core 16 via qemu
[ ] Ubuntu Core 16 with cloud-init