Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Docker keeps saying "No space left on device" when there's space in device

$
0
0

i have two volumes attached to my ec2 instance, one is /dev/sda1 which is root volume and it is 8 Gb while there's another volume /dev/sdb which is 500GB. I can see both volumes when i run sudo fdisk -l. I have a django server running in docker instance running on this ec2 instance and when i upload some data to server docker "I/O error, no space left on device". How can i fix this problem?

EDIT

Following is my docker-compose.yml

# Copyright (C) 2018-2020 Intel Corporation## SPDX-License-Identifier: MIT#version: "2.3"services:  cvat_db:    container_name: cvat_db    image: postgres:10-alpine    networks:      default:        aliases:          - db    restart: always    environment:      POSTGRES_USER: root      POSTGRES_DB: cvat      POSTGRES_HOST_AUTH_METHOD: trust    volumes:      - cvat_db:/var/lib/postgresql/data  cvat_redis:    container_name: cvat_redis    image: redis:4.0-alpine    networks:      default:        aliases:          - redis    restart: always  cvat:    container_name: cvat    image: cvat    restart: always    depends_on:      - cvat_redis      - cvat_db    build:      context: .      args:        http_proxy:        https_proxy:        no_proxy:        socks_proxy:        TF_ANNOTATION: "no"        AUTO_SEGMENTATION: "no"        USER: "django"        DJANGO_CONFIGURATION: "production"        TZ: "Etc/UTC"        OPENVINO_TOOLKIT: "no"    environment:      DJANGO_MODWSGI_EXTRA_ARGS: ""      ALLOWED_HOSTS: '*'    volumes:      - cvat_data:/home/django/data      - cvat_keys:/home/django/keys      - cvat_logs:/home/django/logs      - cvat_models:/home/django/models  cvat_ui:    container_name: cvat_ui    restart: always    build:      context: .      args:        http_proxy:        https_proxy:        no_proxy:        socks_proxy:      dockerfile: Dockerfile.ui    networks:      default:        aliases:          - ui    depends_on:      - cvat  cvat_proxy:    container_name: cvat_proxy    image: nginx:stable-alpine    restart: always    depends_on:      - cvat      - cvat_ui    environment:      CVAT_HOST: ""      ALLOWED_HOSTS: "*"    ports:      - "8080:80"    volumes:      - ./cvat_proxy/nginx.conf:/etc/nginx/nginx.conf:ro      - ./cvat_proxy/conf.d/cvat.conf.template:/etc/nginx/conf.d/cvat.conf.template:ro    command: /bin/sh -c "envsubst '$$CVAT_HOST'< /etc/nginx/conf.d/cvat.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"volumes:  cvat_db:  cvat_data:  cvat_keys:  cvat_logs:  cvat_models:

Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>