Replies: 5 comments
-
Can you provide more information about your issue? What does your Dockerfile look like? What command is being run to build it? Are there any error messages?
What do you mean by "empty"? |
Beta Was this translation helpful? Give feedback.
-
ok . i submitted. it's a none images ,but it has about 2G size |
Beta Was this translation helpful? Give feedback.
-
You're referring to the Is there a particular issue you are experiencing with the .NET Docker images? Are you not able to build or execute the container successfully? Please provide more info. |
Beta Was this translation helpful? Give feedback.
-
emmm , Has been successfully built . but after build create two images. the none images more then 1 G size. |
Beta Was this translation helpful? Give feedback.
-
Please be very explicit with what you see as the problem here. Is it strictly the size of the images that are in your Docker cache that you're concerned about? Be aware that these are intermediate images that are stored by Docker as part of the build and do not indicate the image size of the final image of your application. Those intermediate images are a consequence of the docker build implementation and not specific to .NET images. To see the final image size of your application, you can run the following command to get the number of bytes: |
Beta Was this translation helpful? Give feedback.
-
Describe the Bug
In contos 7, i build my images. I found that an empty images was created. Dockerfile generated by vs 2022
Dockerfile
Dockerfile
Output of
docker version
Version: 20.10.11
Output of
docker info
client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.6.3-docker)
scan: Docker Scan (Docker Inc., v0.9.0)
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 65
Server Version: 20.10.11
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-1160.15.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.7GiB
Name: hecs-38405
ID: D4OP:ZVDQ:SSVW:FJP3:7RIQ:JRFC:7O66:ITXU:AIL2:H7EX:ECKN:UVQX
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Beta Was this translation helpful? Give feedback.
All reactions