TMP="/tmp/hello"
mkdir -p "$TMP"
docker run \
-t \
--rm \
-v "$TMP":/app \
-w /app \
cake233/dotnet-amd64 \
dotnet new console -o world
docker run \
-t \
--rm \
-v "$TMP"/world:/app \
-w /app \
cake233/dotnet-amd64 \
dotnet run --verbosity 4
docker run \
-it \
--name dotnet-amd64 \
cake233/dotnet-amd64
You can also specify the absolute path to the shell.
docker exec -it dotnet-amd64 /usr/local/powershell/pwsh
[main]
name = "dotnet"
tag = ["latest", "2023-09-11", ".NET", "dotnet-sdk"]
os = "arch"
release = "latest"
arch = "amd64"
platform = "linux/amd64"
xorg_or_wayland = false
syntax_version = "0.0.0-alpha.4"
[file]
name = "dotnet_amd64_2023-09-11_12-22.tar.zst"
# This value can be used to verify the integrity of the file
sha256 = "485ecd77344b94c6a56f207e87b3f2b9b49eee51b37138790d5e75c8da1f8552"
# zstd: [1-22]
zstd-level = 22
[file.size]
# Installed size ≈ tar-size
# Installed size is approximately equal to the size of the tar file
tar = "1.9G"
tar_bytes = 1935930368
# Space occupied ≈ tar-size + zstd-size
# You will need to prepare a large enough space before installation.
zstd = "446M"
zstd_bytes = 467256944
[compatibility]
compatible_mode = true
previous_version = "latest01"
# The value is &str, not int
previous_date = "20230828"
previous_tag = "2023-08-28"
previous_file = "dotnet_amd64_2023-08-28_12-22-rootfs.tar.zst"
previous_sha256 = "4b61cfa173c4c6304fd438aa6c5b8d819ff5e33a31816a7d3e5d92a464d97213"
current_version = "latest02"
current_date = "20230911"
old_file = "dotnet_amd64_2023-07-31_12-19-rootfs.tar.zst"
old_sha256 = "9b6d334d196c091784300ed7232ad03b560677b620a2dce1ded1317344bde9b0"
# edition 2021
# DISTRO_NAME=dotnet_amd64
# ROOTFS_FILE=dotnet_amd64_2023-09-11_12-22-rootfs.tar.zst
# SHA256SUM=485ecd77344b94c6a56f207e87b3f2b9b49eee51b37138790d5e75c8da1f8552
# BUILD_DATE=20230911
# BUILD_TAG=2023-09-11
# STATUS=completed
# VERSION=latest02
# END_TIME=12:22
[time]
format = "rfc-3339"
zone = "UTC"
date = 2023-09-11
begin = 2023-09-11 12:02:42.920853891+00:00
start-sync_0 = 12:08:54
start-zstd = 12:09:52
start-sync_1 = 12:21:26
end-sync_1 = 12:22:07
end = 2023-09-11 12:22:07.636747853+00:00
[server]
repo = "cake233/dotnet-amd64"
[server.node1]
name = "cn"
current = false
previous = false
in_sync = false
split = false
[server.node2]
name = "tmoe"
current = true
previous = true
in_sync = false
split = false
[server.node3]
name = "azure"
current = true
previous = true
in_sync = false
split = false
[server.node4]
name = "docker"
current = true
# Environment variables (●>ω<●)
[env]
LANG = "en_US.UTF-8"
PATH = "/usr/local/powershell:/usr/local/dotnet/bin${PATH:+:${PATH}}"
DOTNET_ROOT = "/usr/local/dotnet"
DOTNET_RUNNING_IN_CONTAINER = true
ASPNETCORE_URLS = ""
DOTNET_GENERATE_ASPNET_CERTIFICATE = false
DOTNET_USE_POLLING_FILE_WATCHER = true
Logging__Console__FormatterName = ""
NUGET_XMLDOC_MODE = "skip"
[version]
ldd = 'ldd (GNU libc) 2.38'
git = 'git version 2.42.0'
dotnet = '7.0.400'
powershell = 'PowerShell 7.3.6'
dotnet_info = '''
.NET SDK:
Version: 7.0.400
Commit: 73bf45718d
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/local/dotnet/sdk/7.0.400/
Host:
Version: 7.0.10
Architecture: x64
Commit: a6dbb800a4
.NET SDKs installed:
7.0.400 [/usr/local/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.10 [/usr/local/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.10 [/usr/local/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/local/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
'''
[other]
cmd = "/usr/local/powershell/pwsh"
Content type
Image
Digest
sha256:f7f708dd7…
Size
898.2 MB
Last updated
about 3 years ago
docker pull cake233/dotnet-amd64