Revise content of CONTAINERS module
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- jupyter-notebook
- Lĩnh vực
- documentation, operating-systems
Hướng nghiên cứu
Xem xét module Brainhack Containers và notebook “Containers are not magic.ipynb” được liên kết, bắt đầu với các lệnh wget, tar và chroot được nêu trong báo cáo. Tái hiện các bước đã được ghi lại trên các nền tảng được hỗ trợ và sửa đổi module để các yêu cầu về nền tảng, giới hạn và kết quả mong đợi của module được rõ ràng đối với người dùng macOS và Windows.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Module to maintain
Website: Brainhack Containers module
Code: Jupyter Notebook
Work to be done
I took the module this year and the code provided in the jupyter notebook is not working if you don't have a linux distribution. I'm working on a:
Darwin MacBook-Pro-3.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
And when I run the code I get:
(base) thomasdagonneau@MacBook-Pro-3 ~ % wget bit.ly/fish-container -O fish.tar mkdir -p container-root && (cd container-root && tar xf ../fish.tar)
WARNING: combining -O with -r or -p will mean that all downloaded content
will be placed in the single file you specified.
Prepended http:// to 'bit.ly/fish-container'
--2025-06-04 10:12:46-- http://bit.ly/fish-container
Resolving bit.ly (bit.ly)... 67.199.248.10, 67.199.248.11
Connecting to bit.ly (bit.ly)|67.199.248.10|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.github.com/jvns/1e8b2dcc2c9afac04acc4701112e3512/raw/5ef7f88cd089a70605b301cdd43f388d728f6817/fish.tar [following]
--2025-06-04 10:12:46-- https://gist.github.com/jvns/1e8b2dcc2c9afac04acc4701112e3512/raw/5ef7f88cd089a70605b301cdd43f388d728f6817/fish.tar
Resolving gist.github.com (gist.github.com)... 140.82.113.3
Connecting to gist.github.com (gist.github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/jvns/1e8b2dcc2c9afac04acc4701112e3512/raw/5ef7f88cd089a70605b301cdd43f388d728f6817/fish.tar [following]
--2025-06-04 10:12:46-- https://gist.githubusercontent.com/jvns/1e8b2dcc2c9afac04acc4701112e3512/raw/5ef7f88cd089a70605b301cdd43f388d728f6817/fish.tar
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16999936 (16M) [application/octet-stream]
Saving to: ‘fish.tar’
fish.tar 100%[================================================================================================================>] 16,21M 15,0MB/s in 1,1s
2025-06-04 10:12:47 (15,0 MB/s) - ‘fish.tar’ saved [16999936/16999936]
Prepended http:// to 'mkdir'
--2025-06-04 10:12:47-- http://mkdir/
Resolving mkdir (mkdir)... failed: nodename nor servname provided, or not known.
wget: unable to resolve host address ‘mkdir’
Prepended http:// to 'container-root'
--2025-06-04 10:12:47-- http://container-root/
Resolving container-root (container-root)... failed: nodename nor servname provided, or not known.
wget: unable to resolve host address ‘container-root’
FINISHED --2025-06-04 10:12:47--
Total wall clock time: 1,9s
Downloaded: 1 files, 16M in 1,1s (15,0 MB/s)
(base) thomasdagonneau@MacBook-Pro-3 ~ % mkdir -p container-root && (cd container-root && tar xf ../fish.tar)
usr/share/terminfo/l/lft-pc850: Can't create 'usr/share/terminfo/l/lft-pc850'
usr/share/terminfo/n/ncr260vt300wpp: Can't create 'usr/share/terminfo/n/ncr260vt300wpp'
usr/share/terminfo/n/ncrvt100wpp: Can't create 'usr/share/terminfo/n/ncrvt100wpp'
usr/share/terminfo/p/p12: Can't create 'usr/share/terminfo/p/p12'
usr/share/terminfo/p/p12-m: Can't create 'usr/share/terminfo/p/p12-m'
usr/share/terminfo/p/p12-m-w: Can't create 'usr/share/terminfo/p/p12-m-w'
usr/share/terminfo/p/p12-w: Can't create 'usr/share/terminfo/p/p12-w'
usr/share/terminfo/p/p14: Can't create 'usr/share/terminfo/p/p14'
usr/share/terminfo/p/p14-m: Can't create 'usr/share/terminfo/p/p14-m'
usr/share/terminfo/p/p14-m-w: Can't create 'usr/share/terminfo/p/p14-m-w'
usr/share/terminfo/p/p14-w: Can't create 'usr/share/terminfo/p/p14-w'
usr/share/terminfo/p/p4: Can't create 'usr/share/terminfo/p/p4'
usr/share/terminfo/p/p5: Can't create 'usr/share/terminfo/p/p5'
usr/share/terminfo/p/p7: Can't create 'usr/share/terminfo/p/p7'
usr/share/terminfo/p/p8: Can't create 'usr/share/terminfo/p/p8'
usr/share/terminfo/p/p8-w: Can't create 'usr/share/terminfo/p/p8-w'
usr/share/terminfo/p/p9: Can't create 'usr/share/terminfo/p/p9'
usr/share/terminfo/p/p9-8: Can't create 'usr/share/terminfo/p/p9-8'
usr/share/terminfo/p/p9-8-w: Can't create 'usr/share/terminfo/p/p9-8-w'
usr/share/terminfo/p/p9-w: Can't create 'usr/share/terminfo/p/p9-w'
usr/share/terminfo/p/prism12: Hard-link target 'usr/share/terminfo/P/P12' does not exist.
usr/share/terminfo/p/prism12-m: Hard-link target 'usr/share/terminfo/P/P12-M' does not exist.
usr/share/terminfo/p/prism12-m-w: Hard-link target 'usr/share/terminfo/P/P12-M-W' does not exist.
usr/share/terminfo/p/prism12-w: Hard-link target 'usr/share/terminfo/P/P12-W' does not exist.
usr/share/terminfo/p/prism14: Hard-link target 'usr/share/terminfo/P/P14' does not exist.
usr/share/terminfo/p/prism14-m: Hard-link target 'usr/share/terminfo/P/P14-M' does not exist.
usr/share/terminfo/p/prism14-m-w: Hard-link target 'usr/share/terminfo/P/P14-M-W' does not exist.
usr/share/terminfo/p/prism14-w: Hard-link target 'usr/share/terminfo/P/P14-W' does not exist.
usr/share/terminfo/p/prism4: Hard-link target 'usr/share/terminfo/P/P4' does not exist.
usr/share/terminfo/p/prism5: Hard-link target 'usr/share/terminfo/P/P5' does not exist.
usr/share/terminfo/p/prism7: Hard-link target 'usr/share/terminfo/P/P7' does not exist.
usr/share/terminfo/p/prism8: Hard-link target 'usr/share/terminfo/P/P8' does not exist.
usr/share/terminfo/p/prism8-w: Hard-link target 'usr/share/terminfo/P/P8-W' does not exist.
usr/share/terminfo/p/prism9: Hard-link target 'usr/share/terminfo/P/P9' does not exist.
usr/share/terminfo/p/prism9-8: Hard-link target 'usr/share/terminfo/P/P9-8' does not exist.
usr/share/terminfo/p/prism9-8-w: Hard-link target 'usr/share/terminfo/P/P9-8-W' does not exist.
usr/share/terminfo/p/prism9-w: Hard-link target 'usr/share/terminfo/P/P9-W' does not exist.
tar: Error exit delayed from previous errors.
(base) thomasdagonneau@MacBook-Pro-3 ~ % sudo chroot $PWD/container-root /bin/sh -c "/bin/mount -t proc proc /proc && /bin/zsh"
Password:
chroot: /bin/sh: Exec format error
I think it doesn't work because I'm not with a linux user but instead a x86_64 mac user.
I couldn't test it but I think the issue would probably apply on a windows OS.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 42
- Fork
- 185
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của school-brainhack/school-brainhack.github.io
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
brainhackschool-2024 maintainence
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
school-brainhack/school-brainhack.github.io#420 · 1 bình luận · 2 người được giao ·
-
school-brainhack/school-brainhack.github.io#409 · 1 người được giao ·
-
Maintenance of [testing] module Đang mởmaintainence
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
school-brainhack/school-brainhack.github.io#370 · 1 reaction ·
Tất cả issue của school-brainhack/school-brainhack.github.io
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
Git-it-App/git-it-electron#1047 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
neondatabase/website#5944 ·
-
📕documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
db-ux-design-system/core-web#8239 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
libsdl-org/sdlwiki#1008 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100