Skip to content

Commit 471b2bb

Browse files
committed
update in readme.md about ubuntu related issue
1 parent 2849594 commit 471b2bb

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ go.work
2727

2828
# build files
2929
/devc-v*
30-
/devc
30+
/devc
31+
32+
/env

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ devc pull <image-name> <env-name>
7373
where `image-name` represents the name of the image to be pulled, it can also contain version tag and registry names.
7474
`env-name` will be the name of your new devc environment. It's going to create a directory with the exact name in your current workspace.
7575

76-
eg: to create a simple python devc env, one can execute `devc pull python env` it will create a new directory called `env`, with docker image pulled from any of the default container registry configured on your system. If you want to specify the registry and version tag on pulling, execute something like `devc pull docker.io/library/python:3.12-bookworm env`.
76+
eg: to create a simple python devc env, one can execute `devc pull alpine env` it will create a new directory called `env`, with docker image pulled from any of the default container registry configured on your system. If you want to specify the registry and version tag on pulling, execute something like `devc pull docker.io/library/python:3.12-alpine env`.
7777

7878
#### 1.2 Creating a devc env from Dockerfile/Containerfile
7979
Navigate into the directory of having your Dockerfile / Containerfile and execute the following to build and create a new devc container env
@@ -161,7 +161,13 @@ In addition devc may have installed `buildah` and it's dependencies. You can sim
161161
* [Proot](https://github.com/proot-me/proot)
162162
* [Buildah](https://github.com/containers/buildah)
163163

164+
## Known Issues
165+
* Currently there is some problem regarding issuing apt update in ubuntu/deb based images
166+
* Some mount points has to be refined. Think some of them are useless at times. (It's hard to generalize between different distros)
167+
164168
## TODOs
165169
* Integration of buildah as a go lib (optional :)
166170
* packaging (deb, rpm, AppImage) and bash completion
167171
<!-- * logger addition -->
172+
173+
**Plan to be a contributor? You are welcome :)**

internal/env/binfiles.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ echo "export PS1=\"${PS1}\"" > "$_DIR_NAME/.rc";
5151
-b /sys \
5252
-b /etc/host.conf \
5353
-b /etc/hosts \
54+
-b /ete/hostname \
5455
-b /etc/nsswitch.conf \
5556
-b /etc/resolv.conf \
5657
-b /tmp/ \

0 commit comments

Comments
 (0)