Skip to content

Error when using dotnet/core/aspnet:3.1 - Folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders #1537

@sandeshkg

Description

@sandeshkg

Steps to reproduce the issue

  1. Downloaded the dotnet/core/aspnet:3.1 image on Redhat Linux Server using - docker image pull mcr.microsoft.com/dotnet/core/aspnet:3.1
  2. docker run -it <IMAGE_ID> /bin/bash
  3. dotnet --info

Expected behavior

Should have displayed information reated to dotnet

Actual behavior

root@d9a4936ea0bf:/# dotnet --info
A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders

Additional information (e.g. issue happens only occasionally)

Trying to deploy a aspnet core 3.1 docker app and the container does not launch. Always failed with above mentioned error.
Pulled the base image and did a docker run -it /bin/bash. Once in the container, if i run 'ls' command, i get below error-->
ls: cannot open directory '.': Permission denied.
Then tried dotnet --info and received the below error -
root@d9a4936ea0bf:/# dotnet --info
A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders

Output of docker version

Client:
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-104.git4ef4b30.el7.x86_64
 Go version:      go1.10.3
 Git commit:      4ef4b30/1.13.1
 Built:           Tue Sep 24 18:53:48 2019
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: docker-1.13.1-104.git4ef4b30.el7.x86_64
 Go version:      go1.10.3
 Git commit:      4ef4b30/1.13.1
 Built:           Tue Sep 24 18:53:48 2019
 OS/Arch:         linux/amd64
 Experimental:    false

Output of docker info

Containers: 10
 Running: 1
 Paused: 0
 Stopped: 9
Images: 4
Server Version: 1.13.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Authorization: rhel-push-plugin
Swarm: active
 NodeID: ovkrhpwls9rm6rclwcvj7eajp
 Is Manager: true
 ClusterID: 7rvil11lvj4q8r8v7jnisbjui
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: 10.x.x.x
 Manager Addresses:
  10.x.x.x:2377
Runtimes: docker-runc runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 9c3c5f853ebf0ffac0d087e94daef462133b69c7 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
 selinux
Kernel Version: 3.10.0-862.el7.x86_64
Operating System: Red Hat Enterprise Linux
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 4
Total Memory: 7.631 GiB
Name: noname.server.lab.com
ID: KDH4:D2CQ:JL3D:ZJEQ:3HNK:C23H:DP7J:NY4I:YGFZ:GBA2:Y6DG:GTSH
Docker Root Dir: /opt/app/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://registry.access.redhat.com/v1/
Experimental: false
Insecure Registries:
 10.x.x.x:5000
 127.0.0.0/8
Live Restore Enabled: false
Registries: registry.access.redhat.com (secure), docker.io (secure), registry.fedoraproject.org (secure), quay.io (secure), registry.centos.org (secure), docker.io (secure)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions