I have no name! instead of user name in terminal running custom devfile
See original GitHub issueAfter creating a custom minimal devfile:
metadata:
name: MyDevfile
components:
- mountSources: true
args:
- sleep
- infinity
memoryLimit: 512Mi
type: dockerimage
alias: ubuntu
image: picoded/ubuntu-openjdk-8-jdk
apiVersion: 1.0.0
Opening the terminal and executing /bin/bash
the user has no name:
I have no name!@workspace1grh40aawaiokuav:/workspace$
Also any command requiring root privileges is unauthorized.
I’m trying using multiple standard docker images, but found the same problem. I need a vanilla system where i can try to install some tools, so having a basic user, sudo and root privileges is mandatory.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
When I open Terminal, I get an "I have no name!" prompt
I am asking why, suddenly, my bash prompt displays "I have no name!" rather than a hostname. Perhaps its just a coincidence that...
Read more >Chapter 4. Authoring devfiles - Red Hat Customer Portal
A minimal devfile sufficient to run a workspace consists of the following parts: Specification version; Name. Example of a minimal devfile with no...
Read more >Using a customized devfile to create a workspace - IBM
On the main dashboard, click Get Started Page in the upper left. Select the Custom Workspace tab. For a custom devfile enter a...
Read more >Portable Development Environments using Devfiles
In the new dialog window, enter the name devfile-project and click on Create. ... Hopefully the workspace creation is finished by now, if...
Read more >Unix Basics
By default, Mac OS X and Linux's Terminal runs the bash shell. ... man <command-name> // Display manual page for the command //...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sleshchenko @amisevsk first of all thank you for your support, i’ll try to generate a docker with the arbitrary user patch and try.
Also thanks for the insight about the security issues, i fully understand the rationale behind the Openshift choices.
Just to try to explain my use case and why i’m looking for this kind of solutions: sometimes i would like to be able to test some tools or libraries inside a sandbox running on our company servers, behind a firewall. Sometimes the sandbox is a full VM (kvm) or recently an LXD container. The problem is having an IDE able to reach the sandbox, without the needing of mapping SMB/NFS folders, etc. Eclipse CHE seems the perfect solution, cause if i’m at home (during this lockdown) i can just open my laptop (win/ubuntu or whatever) spinup a container where i’ve a terminal, a working sudo user and an IDE. Of course, for any other needs, during a standard dev process, we have standard and “locked” docker images were all the tools are already installed and under control.
Issues go stale after
180
days of inactivity.lifecycle/stale
issues rot after an additional7
days of inactivity and eventually close.Mark the issue as fresh with
/remove-lifecycle stale
in a new comment.If this issue is safe to close now please do so.
Moderators: Add
lifecycle/frozen
label to avoid stale mode.