Trying to create docker image where I can have all to execute UI tests for Android mobile application.
My Issue now is when I go to container to run emulator which is created on create image step I have this message
Issue type: emulator: ERROR: Not enough space to create userdata partition. Available: 5142.007812 MB at /root/.android/avd/test.avd, need 7372.800000 MB. OS Version/build Linux Client for e-business (RHEL) 7.6 App version 18.09.1 Steps to reproduce 1. Create docker image /mvn/java/sdk-android + create android avd 2. run container 3. go to container bash and run script to start appium/android emulator/clone repo/mvn test command fails: $ANDROID_HOME/emulator/emulator -avd test -noaudio -no-boot-anim -gpu off & emulator: ERROR: Not enough space to create userdata partition. Available: 5142.023438 MB at /root/.android/avd/test.avd, need 7372.800000 MB.
I can see that /dev/mapper/docker has 10Gb and it is used by 50% I think my problem would solve resize this partition.
root@e9c70705e1b2:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/docker-253:2-24773197-261f23060331e34f6f1fd2c655d4d005fd24451ae18ebad451088b9916ea81c7 10G 5.0G 5.1G 50% / tmpfs 64M 0 64M 0% /dev tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/mapper/vg_oc5336103581-lv_root 438G 216G 200G 52% /etc/hosts shm 64M 0 64M 0% /dev/shm tmpfs 16G 0 16G 0% /proc/asound tmpfs 16G 0 16G 0% /proc/acpi tmpfs 16G 0 16G 0% /proc/scsi tmpfs 16G 0 16G 0% /sys/firmware
Any help will be appreciated