Questions tagged [docker]

19 questions
13
votes
2 answers

error: Package `use-package-' is unavailable

I am starting to build up a .emacs file to be used as a development environment within Docker containers. I get this error when starting emacs-nox in a Docker container. Warning (initialization): An error occurred while loading…
learningemacs
  • 343
  • 1
  • 3
  • 11
6
votes
0 answers

How to map file paths when using docker

I'm running code in development using docker. I do that using the -v flag to docker run to mount my code in the container. I've set directory-abbrev-alist and configured compilation-error-regexp-alist-alist appropriately, so I can click on links in…
Croad Langshan
  • 3,192
  • 14
  • 42
6
votes
2 answers

building emacs in a docker container

Until very recently, I've been able to build emacs from source in a docker container using this recipe. However as of last week, all my builds have been failing with Warning: Your system has a gap between BSS and the heap (32188607 bytes). This…
fommil
  • 1,750
  • 11
  • 24
5
votes
0 answers

Python development using Docker interpreter

I would like to use Spacemacs for Python development. I've used Emacs for years and still use it for org-mode and other note taking. At work we develop using Docker based interpreters. This means that everything happens in the container, not just…
Anake
  • 151
  • 2
3
votes
1 answer

Themes in emacs-nox displaying bottom part of frame black instead of background color

Edit: I tried many themes and it was an issue for all of them so this is not a Zenburn specific issue. Edit: Docker is not part of the issue as there is the same behavior when this is done using just emacs-nox. Edit: In response to the comment from…
learningemacs
  • 343
  • 1
  • 3
  • 11
3
votes
1 answer

Error (use-package): Failed to install magit: Package `magit-' is unavailable

I am starting to build up a .emacs file to be used as a development environment within Docker containers. I get this error when starting emacs-nox in a Docker container. Error (use-package): Failed to install magit: Package `magit-' is…
learningemacs
  • 343
  • 1
  • 3
  • 11
3
votes
1 answer

Fix compilation mode paths when compiling in container or remotely

Recently the scenario of editing project source code locally but building the project remotely on another machine (for example inside a Docker container or an Amazon Web Services host) is becoming more common. The setup typically involves starting a…
2
votes
1 answer

How can I start emacs in "headless" mode?

I'm configuring a .emacs.d folder for putting inside a Docker container. On Docker, I need to install all the tools that I want on my image while I'm building the image. Even though I can properly put my .emacs.d folder in the right place, I always…
raylight
  • 217
  • 8
2
votes
3 answers

Connect to Melpa on Port 80 in Setup Script

I'm trying to setup emacs in a docker image that I am creating. I would like to create the image with a particular melpa package installed. This is my Dockerfile: FROM ubuntu RUN apt-get update RUN apt-get install -y emacs COPY setup.el…
1
vote
0 answers

Emacs LSP server inside docker container hanging on startup

I'm trying to use emacs lsp and pyright server with docker. I'm trying to use custom containers as explained here. I've managed to setup this super simple test project. The lsp server starts, however I think that emacs doesn't communicate well with…
Freder
  • 11
  • 1
1
vote
1 answer

How do I change the python layer test command

I'm writing an app in python, which I will run in docker. Therefore I want to test it in docker as well. I'm working in spacemacs and want to use the tools available to test. With projectile this is possible, I can call projectile-test-project and…
Harm
  • 21
  • 3
1
vote
0 answers

How to use Emacs+ESS to access GNU R within docker including x11 without openssh-server

I'm using Debian Stable (currently Buster) to do my programming in GNU R. As an IDE I'm using both Nvim-R (a vim/neovim-plugin) as well as Emacs+ESS but not Rstudio (although it's a great IDE for getting started). Since the stability of Debian comes…
n0542344
  • 185
  • 4
1
vote
2 answers

How to fix docker command prompt

When I start emacs -q and run M-x shell there is formatting error when connecting to docker container as follows, $ docker container exec -it b3c85fd9c5eaa2e64fc5aac9025d1f9c3b3fe47ca39008f40ddd436338d755f5 bash ]0;root@b3c85fd9c5ea:…
phoxd
  • 231
  • 1
  • 7
1
vote
1 answer

How to use mysql client (sql-mysql-program) from a docker container?

I am running MySQL inside a docker container. When I try to connect to it using M-x sql-mysql I see the following error: Unable to locate SQL program ‘mysql’ Yeah, I don't have mysql-client installed and would like to use it from a docker…
Oles Savluk
  • 196
  • 3
  • 10
1
vote
1 answer

comint-mode + vagrant

Disclaimer: Pretty new to Emacs and running Spacemacs, have no idea what I'm doing with elisp. We run all our projects under vagrant, so I'm interested in getting some things, such as inf-ruby-mode consoles, to ssh into my vagrant box before running…
1
2