-
Notifications
You must be signed in to change notification settings - Fork 1
Home
mikoto2000 edited this page Jun 11, 2024
·
3 revisions
devcontainer.vim v0.9.3 デモ - Ruby プロジェクト用に Dev Container 設定ファイルを作成して起動する - YouTube
$CONTAINER_ID=$(docker run -d --rm -v "$(pwd):/work" -v "$HOME/vimfiles:/root/.vim" --workdir /work --name devcontainer.vim golang:1.22.1-bookworm sh -c "sleep infinity")
docker cp C:\Users\mikoto\Downloads\Vim-v9.1.0181.glibc2.29-x86_64.AppImage ${CONTAINER_ID}:/
docker exec ${CONTAINER_ID} sh -c "chmod +x /Vim-v9.1.0181.glibc2.29-x86_64.AppImage"
docker exec -it ${CONTAINER_ID} sh -c "/Vim-v9.1.0181.glibc2.29-x86_64.AppImage --appimage-extract-and-run"
docker stop ${CONTAINER_ID}