Docker ubunbu container , can't edit the source.list, no editor presentOdd behavior of software sources GUI in Ubuntu-based eOS (sources selected in the background)docker - how to run x desktop in a container?Ubuntu 15.04 PlayOnLinux Evernote can't edit notesHow to run source with docker exec?How do I install Python in Linux with no Internet access?Apt-get error : Writing more data than expected (7643558 > 7643216)How to install ZFS on KDE neon?How to install docker from apt on Ubuntu?Docker with Bumblebee on FedoraDocker container upload permission

NASA's RS-25 Engines

Why does cron require MTA for logging?

Damage bonus for different weapons

Which situations would cause a company to ground or recall a aircraft series?

Do I really need to have a scientific explanation for my premise?

What is this diamond of every day?

Is it possible that a question has only two answers?

What do you call someone who likes to pick fights?

Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?

When Schnorr signatures are part of Bitcoin will it be possible validate each block with only one signature validation?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Does an unused member variable take up memory?

Why does Solve lock up when trying to solve the quadratic equation with large integers?

After `ssh` without `-X` to a machine, is it possible to change `$DISPLAY` to make it work like `ssh -X`?

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?

Should I take out a loan for a friend to invest on my behalf?

Are all players supposed to be able to see each others' character sheets?

Finitely many repeated replacements

MySQL importing CSV files really slow

How is it possible to drive VGA displays at such high pixel clock frequencies?

What materials can be used to make a humanoid skin warm?

Would an aboleth's Phantasmal Force lair action be affected by Counterspell, Dispel Magic, and/or Slow?



Docker ubunbu container , can't edit the source.list, no editor present


Odd behavior of software sources GUI in Ubuntu-based eOS (sources selected in the background)docker - how to run x desktop in a container?Ubuntu 15.04 PlayOnLinux Evernote can't edit notesHow to run source with docker exec?How do I install Python in Linux with no Internet access?Apt-get error : Writing more data than expected (7643558 > 7643216)How to install ZFS on KDE neon?How to install docker from apt on Ubuntu?Docker with Bumblebee on FedoraDocker container upload permission













0















Just installed a docker Ubuntu container.
All the repositories in the sources list are commented (#) and so I neither can update nor install anything via APT.
There is no editor like nano ,vim etc. Now how do uncomment the entries in the source list ?










share|improve this question






















  • Do you have sed

    – Tryna Learn Somethin
    1 hour ago











  • It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

    – Jeff Schaller
    1 hour ago











  • can you provide the exact of the docker image ?

    – EchoMike444
    1 hour ago











  • I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

    – Just Khaithang
    1 hour ago












  • @EchoMike444, I wanted to install some programs in it.

    – Just Khaithang
    1 hour ago















0















Just installed a docker Ubuntu container.
All the repositories in the sources list are commented (#) and so I neither can update nor install anything via APT.
There is no editor like nano ,vim etc. Now how do uncomment the entries in the source list ?










share|improve this question






















  • Do you have sed

    – Tryna Learn Somethin
    1 hour ago











  • It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

    – Jeff Schaller
    1 hour ago











  • can you provide the exact of the docker image ?

    – EchoMike444
    1 hour ago











  • I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

    – Just Khaithang
    1 hour ago












  • @EchoMike444, I wanted to install some programs in it.

    – Just Khaithang
    1 hour ago













0












0








0








Just installed a docker Ubuntu container.
All the repositories in the sources list are commented (#) and so I neither can update nor install anything via APT.
There is no editor like nano ,vim etc. Now how do uncomment the entries in the source list ?










share|improve this question














Just installed a docker Ubuntu container.
All the repositories in the sources list are commented (#) and so I neither can update nor install anything via APT.
There is no editor like nano ,vim etc. Now how do uncomment the entries in the source list ?







ubuntu docker container






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









Just KhaithangJust Khaithang

62




62












  • Do you have sed

    – Tryna Learn Somethin
    1 hour ago











  • It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

    – Jeff Schaller
    1 hour ago











  • can you provide the exact of the docker image ?

    – EchoMike444
    1 hour ago











  • I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

    – Just Khaithang
    1 hour ago












  • @EchoMike444, I wanted to install some programs in it.

    – Just Khaithang
    1 hour ago

















  • Do you have sed

    – Tryna Learn Somethin
    1 hour ago











  • It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

    – Jeff Schaller
    1 hour ago











  • can you provide the exact of the docker image ?

    – EchoMike444
    1 hour ago











  • I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

    – Just Khaithang
    1 hour ago












  • @EchoMike444, I wanted to install some programs in it.

    – Just Khaithang
    1 hour ago
















Do you have sed

– Tryna Learn Somethin
1 hour ago





Do you have sed

– Tryna Learn Somethin
1 hour ago













It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

– Jeff Schaller
1 hour ago





It seems to me to be against the grain of a container to have updates applied to it. You'd more commonly deploy a newer container. Can you describe your reasons for updating the container internally?

– Jeff Schaller
1 hour ago













can you provide the exact of the docker image ?

– EchoMike444
1 hour ago





can you provide the exact of the docker image ?

– EchoMike444
1 hour ago













I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

– Just Khaithang
1 hour ago






I installed the container through the -it Ubuntu bash command. As shown in the hello-world as an example.

– Just Khaithang
1 hour ago














@EchoMike444, I wanted to install some programs in it.

– Just Khaithang
1 hour ago





@EchoMike444, I wanted to install some programs in it.

– Just Khaithang
1 hour ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505547%2fdocker-ubunbu-container-cant-edit-the-source-list-no-editor-present%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505547%2fdocker-ubunbu-container-cant-edit-the-source-list-no-editor-present%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







-container, docker, ubuntu

Popular posts from this blog

Frič See also Navigation menuinternal link

Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox