title: The command '/bin/sh -c apt-get install erlang' returned a non-zero code: 1
body: <p>I am a beginner in Docker and am using Ubuntu 18.04 as a Host machine.
  While searching for the solution the only thing I got was to increase the VM disk size as it is happening due to low memory.
  I am not using a VM. Disk size available is 87+ GB. </p>
  
  <p>Below is my docker file content.</p>
  
  <pre><code>FROM ubuntu
  RUN apt-get update
  RUN apt-get install erlang
  EXPOSE 15672
  </code></pre>
  
  <p>On triggering to build, I am getting the following error:</p>
  
  <pre><code>    Sending build context to Docker daemon  1.694GB
      Step 1/4 : FROM ubuntu
       ---&gt; cd6d8154f1e1
      Step 2/4 : RUN apt-get update
       ---&gt; Using cache
       ---&gt; 04473efa791a
      Step 3/4 : RUN apt-get install erlang
       ---&gt; Running in bb7a0664bb20
      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following additional packages will be installed:
        adwaita-icon-theme at-spi2-core ca-certificates ca-certificates-java dbus
        dconf-gsettings-backend dconf-service default-jre-headless emacsen-common
        erlang-asn1 erlang-base erlang-common-test erlang-corba erlang-crypto
  .
  .
  .
        notification-daemon openjdk-11-jre-headless openssl shared-mime-info
        ubuntu-mono ucf x11-common xdg-user-dirs xkb-data
      0 upgraded, 202 newly installed, 0 to remove and 1 not upgraded.
      Need to get 137 MB of archives.
      After this operation, 657 MB of additional disk space will be used.
      Do you want to continue? [Y/n] Abort.
      The command '/bin/sh -c apt-get install erlang' returned a non-zero code: 1
  </code></pre>