Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get install command fails with available space errors in container based on latest image on DockerHub #128

Open
sp185338 opened this issue Mar 31, 2022 · 1 comment

Comments

@sp185338
Copy link

sp185338 commented Mar 31, 2022

Steps to repro:

  1. Launch container based on latest image of katalonstudio/katalon on Docker Hub:
    docker run -it --pull missing --name katalon -d katalonstudio/katalon:latest
  2. Run following command from the CLI of the container: apt-get update OR Run following command from a Command Prompt/Terminal on the host: docker exec katalon apt-get update. Result is as documented in apt-get update command fails in container based on latest image on DockerHub #127 .
  3. Run following command from the CLI of the container: apt-get install <package name> OR Run following command from a Command Prompt/Terminal on the host: docker exec katalon apt-get install <package name>.
    Expected Behavior: Package specified in is successfully installed without errors.
    Actual Behavior: apt-get install command fails with errors as shown in log below.
root@8f1eceea2e2c:/# apt-get install apt-transport-https ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20210119~16.04.1).
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.6 kB of archives.
After this operation, 217 kB of additional disk space will be used.
**E: You don't have enough free space in /var/cache/apt/archives/.**

Notes:

  1. Output of df /var/cache/apt/archives yields following:
Filesystem 1K-blocks    Used        Available Use% Mounted on
overlay       65792556   63281680 **0**             100% /   
  1. Host OS is Windows 10 with 8 GB available host disk space.
  2. Issue occurs regardless of the package being installed (also tried sudo, iputils-ping and telnet).

Reason for trying to execute this command: Trying to install ping (iputils-ping) and telnet on the container to troubleshoot/diagnose connectivity issues with container running web service under test.

@duyluonganh
Copy link
Contributor

@sp185338 Does this issue still happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants